When you log in for the first time on a newly setup cPanel system, you may see the following message:
IMPORTANT: Do not ignore this email. |
To solve this issue, please use the following procedure:
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.
2. You will probably see the error again but go ahead and close it for now and scroll down the left-hand Functions Menu until you find the heading 'DNS Functions'. Click on 'Add an A entry for your hostname'. WHM will try to analyze your hostname and then present you with a button that says “Add the entry”.Please click the button and WHM should automatically try to add the relevant A record for your hostname to the DNS zone present on your system.
3. Logout and then log back into 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 log in to your server via SSH and to test simply run the following command “/scripts/ipcheck”.This command will send you an email immediately if your settings are still incorrect.
4. If the above steps do not work, then you edit your /etc/hosts file. Log in to your system via SSH. Use your favorite text editor to make sure that your /etc/hosts file looks something like this.
cat /etc/hosts
127.0.0.1 localhost
xx.xx.xx.xx myserver.mydomain.com myserver
If you would like more information on the structure of the host's file, type 'man hosts'.