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.

Hostname A record warning e-mail

Discussion in 'E-mail Discussions' started by frank84, Jan 27, 2011.

  1. frank84

    frank84 Registered

    Joined:
    Jan 27, 2011
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    We just received this message this morning :

    ------------------------------------------------------------------------------------------

    IMPORTANT: Do not ignore this email.
    The hostname (server.dostov.com) resolves to . It should resolve to 74.50.121.68. 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

    ------------------------------------------------------------------------------------------

    Now we cannot access our cPanel, anyone know how to fix this?

    Thanks
     
  2. LinuxTechie

    LinuxTechie Well-Known Member

    Joined:
    Jan 22, 2011
    Messages:
    502
    Likes Received:
    2
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Hi Frank,

    Can you please check whether the /etc/hosts file is having the right IP 74.50.121.68. If not correct it with this IP.
    Also check whether the command hostname -i returns the same IP. If not you need to correct this. If you are still facing issues paste the resolv.conf for a further check on it.

    You can check whether the issue is corrected using the below given cpanel script.

    If a mail is sent while executing this script it means issue persists, o/w it is resolved.
    One more thing is that this no relation with the issue you are facing with cPanel. What error are you receiving while accessing cPanel?
     
  3. frank84

    frank84 Registered

    Joined:
    Jan 27, 2011
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    It's not an error but i'm getting this when I tried to connect to cPanel :

    This server is currently not licensed. Please contact the server administrator. Other services available on this server such as web services are likely functioning normally. (License not activated)

    And, sorry to ask but i'm a newbie in this, how to I check whether or not the /etc/hosts file is having the right IP 74.50.121.68?
     
  4. ahxnccj

    ahxnccj Registered

    Joined:
    Jan 27, 2011
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    is this error or not??
     
  5. LinuxTechie

    LinuxTechie Well-Known Member

    Joined:
    Jan 22, 2011
    Messages:
    502
    Likes Received:
    2
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Hi Frank,

    Do you have a valid cPanel License? You can verify it in the below given URL.

    License Verification - cPanel Inc.

    Please open your hosts file and check whether the IP corresponding to the hostname is 74.50.121.68?
     
  6. cPanelJared

    cPanelJared Technical Analyst
    Staff Member

    Joined:
    Feb 25, 2010
    Messages:
    1,842
    Likes Received:
    18
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    The important issue, in regard to licensing, is to make sure that your server's license requests are coming from the correct IP address. Our license servers work based on which IP address they "see" the request coming from. To check this, run the following command on the server as root:

    Code:
    # curl http://www.cpanel.net/apps/myip/
    If the IP address that is returned is not the licensed IP address, then you will need to do one of two things:

    • Change the routing of your server and network so that outbound requests come from the correct IP address, or;
    • Contact our customer service department and ask to have the licensed IP address changed to the one that was returned by the curl command.

    The warning you received about the hostname A record is important, but would not by itself cause you to not be able to access cPanel. It is not something that would cause the license to be invalid. The /etc/hosts file, however, does need to be properly configured. It should contain the following, at a minimum:

    Code:
    127.0.0.1       localhost.localdomain  localhost
    74.50.121.68    hostname.domain.tld    hostname
    Replace "hostname.domain.tld" with your server's actual hostname containing the domain name (the hostname containing the domain name is what makes it "fully qualified"). It should be in the format host.domain.tld. For example, host.mydomain.com is a theoretically valid hostname.

    Replace "hostname" with the server's short hostname. This is the same hostname, except without the domain and the top-level domain (.com, .org, .edu, etc.). For example, host is theoretically valid.

    If you need further assistance with this, please feel free to submit a ticket and we will be happy to log into your server and help you on an individual basis.
     
Loading...

Share This Page