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!
  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

    Sep 21, 2011
    Likes Received:
    Trophy Points:
    Faisalabad, Pakistan
    cPanel Access Level:
    Website Owner
     Your hostname ( 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 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

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

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

Share This Page