KNOWNHOST WIKI

User Tools

Site Tools


control-panels:cpanel-whm:how-do-i-configure-my-dns-for-hostname-changes-in-cpanel

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
control-panels:cpanel-whm:how-do-i-configure-my-dns-for-hostname-changes-in-cpanel [2019/09/13 08:48]
Karson N. [**Reminder**: You Must Still Make the Appropriate Changes At the Registrar!]
control-panels:cpanel-whm:how-do-i-configure-my-dns-for-hostname-changes-in-cpanel [2019/10/11 06:39] (current)
Karson N. [Changing the Hostname]
Line 19: Line 19:
 You should see the following with a list of domains to choose from.  You should see the following with a list of domains to choose from. 
  
-{{:​control-panels:​cpanel-whm:​whmeditdnszone.png?​direct&700|}}+{{:​control-panels:​cpanel-whm:​whmeditdnszone.png?​nolink&700|}}
  
 Select the domain that you want to use for the nameservers and the server'​s hostname from the dropdown list. The DNS Zone file for that domain will be displayed. ​ Select the domain that you want to use for the nameservers and the server'​s hostname from the dropdown list. The DNS Zone file for that domain will be displayed. ​
  
-{{:​control-panels:​cpanel-whm:​domainzonefilewhm.png?​direct&​1200|}}+{{:​control-panels:​cpanel-whm:​domainzonefilewhm.png?​nolink&​1200|}}
  
 Scroll to the bottom of the page and input the following (To get the IPs, I just used the IPs that were present in the zone files for ns1/​ns2.olddomain.tld):​ Scroll to the bottom of the page and input the following (To get the IPs, I just used the IPs that were present in the zone files for ns1/​ns2.olddomain.tld):​
Line 36: Line 36:
  
  
-{{:​control-panels:​cpanel-whm:​addns1ns2hostrecords.png?​direct&900|}}+{{:​control-panels:​cpanel-whm:​addns1ns2hostrecords.png?​nolink&900|}}
  
  
 Note the creation of the A record for the new hostname because it is important to have a hostname that resolves and has a corresponding PTR record otherwise you may have mail deliverability issues. Now save the zone file and ensure that it saves without error. The interface will show that the zone file is being reloaded and that the settings have been updated: Note the creation of the A record for the new hostname because it is important to have a hostname that resolves and has a corresponding PTR record otherwise you may have mail deliverability issues. Now save the zone file and ensure that it saves without error. The interface will show that the zone file is being reloaded and that the settings have been updated:
  
-{{:​control-panels:​cpanel-whm:​reloadedzonefile.png?​direct&​1200|}}+{{:​control-panels:​cpanel-whm:​reloadedzonefile.png?​nolink&​1200|}}
  
 You have just created the GLUE records at the server. Now, you will need to do the same at the registrar. ​ You have just created the GLUE records at the server. Now, you will need to do the same at the registrar. ​
Line 91: Line 91:
 Scroll to the bottom of the page and you will see the default nameserver settings. Replace the old nameservers with the new nameservers. ​ Scroll to the bottom of the page and you will see the default nameserver settings. Replace the old nameservers with the new nameservers. ​
  
-{{:​control-panels:​cpanel-whm:​defaultnameservers.png?​direct&​1200|}}+{{:​control-panels:​cpanel-whm:​defaultnameservers.png?​nolink&​1200|}}
  
 You will also need to make sure that the correct nameserver records are showing here. Occasionally,​ if DNS changes have been made regarding the nameserver A records, the old IPs may show for a day or so until the registrar updates their records and the panel updates following this. You can force the panel to update using the following script: You will also need to make sure that the correct nameserver records are showing here. Occasionally,​ if DNS changes have been made regarding the nameserver A records, the old IPs may show for a day or so until the registrar updates their records and the panel updates following this. You can force the panel to update using the following script:
Line 99: Line 99:
 To update the nameserver A records (aka glue records), you will need to click "​Configure Address Records"​ next to the nameserver. ​ To update the nameserver A records (aka glue records), you will need to click "​Configure Address Records"​ next to the nameserver. ​
  
-{{:​control-panels:​cpanel-whm:​configurenameserverrecordsbasic.png?​direct&​1000|}}+{{:​control-panels:​cpanel-whm:​configurenameserverrecordsbasic.png?​nolink&​1000|}}
  
  
 Confirm the information shown is correct and click the "​Configure Address Records"​ button in this frame. ​ Confirm the information shown is correct and click the "​Configure Address Records"​ button in this frame. ​
  
-{{:​control-panels:​cpanel-whm:​nameserverrecordsconfiguredwhmbasic.png?​direct&​1000|}}+{{:​control-panels:​cpanel-whm:​nameserverrecordsconfiguredwhmbasic.png?​nolink&​1000|}}
  
 You will need to repeat this process for the other nameserver, and then finally, click "Save Changes"​ at the bottom of WHM's "Basic WebHost Manager® Setup"​. You will need to repeat this process for the other nameserver, and then finally, click "Save Changes"​ at the bottom of WHM's "Basic WebHost Manager® Setup"​.
Line 112: Line 112:
 Now, the hostname should be changed on our end, and in the panel. Once the hostname is changed on our end, we will also have to update the license (the command will be shown on screen with the error when you attempt to access WHM).  Now, the hostname should be changed on our end, and in the panel. Once the hostname is changed on our end, we will also have to update the license (the command will be shown on screen with the error when you attempt to access WHM). 
  
-{{:​control-panels:​cpanel-whm:​changed-hostname-invalid-license.png?​direct&​1000|}}+{{:​control-panels:​cpanel-whm:​changed-hostname-invalid-license.png?​nolink&​1000|}}
  
 The command must be run via SSH as the root user and is as follows: The command must be run via SSH as the root user and is as follows:
Line 122: Line 122:
   Home »Networking Setup »Change Hostname ​   Home »Networking Setup »Change Hostname ​
  
-{{:​control-panels:​cpanel-whm:​cpanel-change-hostname.png?​1000&direct|}}+{{:​control-panels:​cpanel-whm:​cpanel-change-hostname.png?​nolink&1000|}}
  
 **NOTE:** The hostname must still be changed on our end so that we may also update the PTR record! ​ **NOTE:** The hostname must still be changed on our end so that we may also update the PTR record! ​
Line 133: Line 133:
   Home »DNS Functions »Delete a DNS Zone    Home »DNS Functions »Delete a DNS Zone 
  
-{{:​control-panels:​cpanel-whm:​remove-old-nameservers.png?​direct&600|}}+{{:​control-panels:​cpanel-whm:​remove-old-nameservers.png?​nolink&600|}}
  
 If you want to remove them both at the same time, hold down Ctrl and click both that you'd like to remove. They should both be highlighted. You can then click "​Delete"​. ​ If you want to remove them both at the same time, hold down Ctrl and click both that you'd like to remove. They should both be highlighted. You can then click "​Delete"​. ​
control-panels/cpanel-whm/how-do-i-configure-my-dns-for-hostname-changes-in-cpanel.1568382482.txt.gz · Last modified: 2019/09/13 08:48 by Karson N.