Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Problem with Dns

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

  1. UmEr Ch

    UmEr Ch Member

    Joined:
    Sep 21, 2011
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    51
    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:
    175
    Likes Received:
    9
    Trophy Points:
    68
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice