- Add the correct virtual host to the webserver
- Check to whom the mail to change in DNS should be sent
- Send a mail to domainmaster and request the change
In order to get the new webserver to respond the new name. Usually one must must add the virtual host to the web server configuration.
Check that the new service is working at the new host. Change the the hosts-file on a client computer. On Ubuntu (Linux) and macOS it is called /etc/hosts and Windows %SystemRoot%\system32\drivers\etc\hosts usually c:\windows\system32\drivers\etc\hosts.
If the webserver is called www.department.uu.se and will be moved to the new IP-address 126.96.36.199 then add the following line:
Or if you wish to use both www.department.uu.se and department.uu.se you need to put them both in the hosts-file:
188.8.131.52 www.department.uu.se department.uu.se
Now restart the local webbrowser (Firefox, Internet Explorer etc) and open the website (http://www.department.uu.se/). Your webbrowser will now contact the new IP-address (picked from the hosts-file).
If the website has two names (www.department.uu.se and department.uu.se), you need to test them both.
When everything is OK proceed to the next step. Also, remember to remove your changes to your hosts-file.
Then check the SOA field of the domain. The SOA record contain information on what what the contact person is for the domain. When querying for SOA also authoritative nameserver may be shown.
Use the command Dig for this. Dig is included in macOS and Linux and may be downloaded for free for Windows.
The output may look like this:
$ dig soa bmc.uu.se ; <<>> DiG 9.4.3-P3 <<>> soa bmc.uu.se ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 35450 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 4, ADDITIONAL: 7 ;; QUESTION SECTION: ;bmc.uu.se. IN SOA ;; ANSWER SECTION: bmc.uu.se. 14400 IN SOA ddns.uu.se. domainmaster.uu.se. 2015021900 3600 600 2592000 1800 ;; AUTHORITY SECTION: bmc.uu.se. 1078 IN NS dns2.uu.se. bmc.uu.se. 1078 IN NS dns3.uu.se. bmc.uu.se. 1078 IN NS dns1.uu.se. bmc.uu.se. 1078 IN NS dns.uu.se. ;; ADDITIONAL SECTION: dns.uu.se. 13974 IN A 184.108.40.206 dns.uu.se. 13974 IN AAAA 2001:6b0:b:242:130:238:7:10 dns1.uu.se. 13974 IN A 220.127.116.11 dns1.uu.se. 13974 IN AAAA 2001:6b0:b:215:130:238:4:133 dns2.uu.se. 13974 IN A 18.104.22.168 dns2.uu.se. 13974 IN AAAA 2001:6b0:b:732:130:238:164:6 dns3.uu.se. 13974 IN A 22.214.171.124 ;; Query time: 4 msec ;; SERVER: 126.96.36.199#53(188.8.131.52) ;; WHEN: Fri Feb 27 17:43:03 2015 ;; MSG SIZE rcvd: 304 $
There are two interesting things in this output.
- The contact person is email@example.com. The first unescaped . (dot) in the field is substituted to an @.
- There are DNS-servers on uu.se.
- If you are a webmaster or system administrator for the department in question, go ahead.
- If you are not a webmaster or system administrator for the department in question, get a confirmation from the webmaster or system administrator. Include the confirmation in the mail to the domainmaster.
To: firstname.lastname@example.org From: email@example.com Subject: change webserver www.department.uu.se Hello, Please make www.department.uu.se a CNAME to www.service.uu.se like this: www.department.uu.se. IN CNAME www.service.uu.se. Kind regards, My contact information
Or, if you wish to change both http://www.department.uu.se and http://department.uu.se it may look like this with only IPv4 addresses.
To: firstname.lastname@example.org From: email@example.com Subject: change webserver www.department.uu.se department.uu.se Hello, Please remove the old A-record for department.uu.se and any record for www.department.uu.se. Add the following: department.uu.se. IN A 184.108.40.206 department.uu.se. IN A 220.127.116.11 www.department.uu.se. IN A 18.104.22.168 www.department.uu.se. IN A 22.214.171.124 Kind regards, My contact information.