[ipcheck] Problems with dns setup on (hostname)

yosofun

Member
Dec 31, 2008
12
0
51
I received the following automated error message from cPanel (again!), though it looks like most of my domains have resolved to the new dedicated server from a different provider. Please advise.


IMPORTANT: Do not ignore this email.
The hostname (x.hostname.com - blanked for anonymity) resolves to . It should resolve to (IP address of dedicated server - blanked for anonymity). Please be sure to correct /etc/hosts as well as the 'A' entry in zone file for the domain.

Some are all of these problems can be caused by
/etc/resolv.conf being setup incorrectly. Please check this file if you
believe everything else is correct.


You may be able to
automatically correct this problem by using the ' Add an A entry for your
hostname ' under ' Dns Functions ' in your Web Host Manager
 

bc02

Registered
Jun 28, 2010
1
0
51
please reply me as soon as possil

please direct me step by step way to do it.And also how to create a user account and how to ftp my files.
 

garrettp

Well-Known Member
PartnerNOC
Jun 18, 2004
312
2
166
cPanel Access Level
DataCenter Provider
There are a few things that could be causing the issue. As the email indicates, make sure that the /etc/hosts file contains a line that begins with your IP address and includes the server's hostname, which also includes the 'host' portion of the FQDN. For example, the file will look something like this for a server with a hostname 'test.example.com':

Code:
127.0.0.1     localhost
1.2.3.4       test test.example.com
Also, make sure that wherever the DNS records for 'example.com' are hosted that you have an A record setup for test.example.com and that it resolves to the correct base IP of the server (the IP on eth0).