about Problem with DNS setup

Discussion in 'Site & Server Administration' started by alex641230, Jun 2, 2011.

  1. #1
    i use cpanel
    always get email
    
    IMPORTANT: Do not ignore this email.
    
    Your hostname (xxx.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 xxx.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.
    Code (markup):
    how can i resolve
     
    alex641230, Jun 2, 2011 IP
  2. RHS-Chris

    RHS-Chris Well-Known Member

    Messages:
    1,007
    Likes Received:
    35
    Best Answers:
    10
    Trophy Points:
    150
    #2
    Hello there,

    Have you followed the solution listed? Your hostname for any server should have 3 sections, it should never just be domain.com, it should be something like server.domain.com, that was a proper A entry can be made pointing specifically at the correct IP address.

    Chris
     
    RHS-Chris, Jun 4, 2011 IP
  3. stardust.x7

    stardust.x7 Active Member

    Messages:
    369
    Likes Received:
    3
    Best Answers:
    1
    Trophy Points:
    90
    #3
    The server hostname which is like "name.domain.com" for your server must be pointed to your server IP. You need to set A records for that subdomain pointed to the primary IP of yourserver. Then it will be solved.
     
    stardust.x7, Jun 5, 2011 IP
  4. alex641230

    alex641230 Greenhorn

    Messages:
    80
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #4
    thank's all
    i will try it
     
    alex641230, Jun 6, 2011 IP
  5. Minimo

    Minimo Peon

    Messages:
    29
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    ok get back with results soon :)
     
    Minimo, Jun 14, 2011 IP
  6. alex641230

    alex641230 Greenhorn

    Messages:
    80
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #6
    i change hostname and ip
    now is ok
    thank's all
     
    alex641230, Jun 14, 2011 IP