| "IMPORTANT: do not ignore this email: The hostname resolves to . It should resolve to X.X.X.X" A newly setup cPanel system may have a message such as the following show the first time that you login to WHM.
=========== IMPORTANT: Do not ignore this email. ===========
Here are the steps that you should work through to solve this issue. 1. Follow the instructions that cPanel has provided by checking to see if you can solve this issue using WHM provided tools. Login to your server's WHM (not cPanel) by going to https://[YOUR SERVER IP]:2087 in your web browser. 3. Go ahead and logout and then log back in to WHM to see if the message returns. Look to the top of WHM to see the "Logout(root)" link. Optional Tip: If you don't like logging into and then out of WHM while testing the fixes you can instead login to your server via SSH and whenever you are ready to test simply run the following command: root@myserver [~]# /scripts/ipcheck This command will send you an email immediately if your settings are still incorrect. root@myserver [~]# cat /etc/hosts If you would like more information on the structure of the hosts file type 'man hosts' as the structure of this file is outside of the scope of this document. nameserver xxx.xxx.xxx.xxx note: Your Datacenter NameServer IP Address Though we understand that many users have custom configurations specified in /etc/resolv.conf, we would request that you temporarily change this information to the datacenter defaults while troubleshooting this issue. You can use the following commands. cp /etc/resolv.conf /etc/resolv.conf.bak Let's go ahead and test for the message again. Did it return? In this case it sounds like the domain name servers for your domain are not configured to be this server. Is it possible that they are configured to be another server? We can use dig from within the shell to try and find out. Try this: dig +noall +answer +additional mydomain.com NS Here are some example results: $ dig +noall +answer +additional your-datacenter.com NS In the most simple of setups, the IPs listed in your results (not your-datacenter's) should match the IPs of your server. If they do, then everything should be working at this point. If not then you are using name servers that are not within your system and you will need to update them with the relevant A record. 6. If you are using your-datacenter's name servers then login to our Portal and go to Public Network > dns and click to edit the domain in question. Simpy add an A record with your server's main IP Address into the fields. If you are using some other name servers, you will need to contact the Administrator of that system to ask how you may add additional DNS Records.
|
Powered by WHMCompleteSolution