The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Problem with Dns

Discussion in 'Bind / DNS / Nameserver Issues' started by UmEr Ch, Oct 15, 2011.

  1. UmEr Ch

    UmEr Ch Member

    Joined:
    Sep 21, 2011
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Faisalabad, Pakistan
    cPanel Access Level:
    Website Owner
    Code:
     Your hostname (name.username.host.com) could not be resolved
    to an IP address. This means that /etc/hosts is not set up
    correctly, and/or there is no dns entry for
    name.username.host.com. Please be sure that the contents of
    /etc/hosts are configured correctly, and also that there is a
    correct 'A' entry for the domain in the zone file.
    
    Some or all of these problems can be caused by /etc/resolv.conf
    being setup incorrectly. Please check that 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' option under 'Dns Functions' in
    your Web Host Manager.
    i got this error from last 15 days i added dns entry and also done everything that is mention in this mail but it still getting an error.

    How can i fix it .? :(

    Thanks in advance..
     
  2. SB-Nick

    SB-Nick Well-Known Member

    Joined:
    Aug 26, 2008
    Messages:
    134
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Thats not a valid hostname, change it to something like server.yourdomain.com and make sure it resolves to a IP, you can quickly test this by doing a "ping server.yourdomain.com".

    Be aware that in order to solve this, the nameservers IP for yourdomain.com needs to be pointing to your WHM server.
     
Loading...

Share This Page