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!

Hostnames Don't Make Sense

Discussion in 'Bind/DNS/Nameserver' started by kray, Aug 24, 2015.

  1. kray

    kray Member

    Joined:
    Mar 30, 2012
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    51
    cPanel Access Level:
    Root Administrator
    Is it required to use a subdomain as the server's hostname? This causes a DNS zone for the subdomain which isn't proper. For instance, I can't seem to resolve my server's hostname. Can we use a domain rather than a subdomain? The main domain should have a DNS zone and specify subdomains in it, not a zone for a subdomain. I'm using BIND and clustering. All my records are synced. In the zone (server.mydomain.com) there's an A record pointed to the IP but it still won't resolve. I assume this is because subdomains are supposed to be in the zone of a main domain.
     
  2. kray

    kray Member

    Joined:
    Mar 30, 2012
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    51
    cPanel Access Level:
    Root Administrator
    What if my hostname is server1.myhost.com and I create an account for myhost.com? I don't think there's supposed to be a zone file for a subdomain and it's not resolving.
     
  3. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,802
    Likes Received:
    1,895
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello :)

    It's actually acceptable to have a separate zone for a subdomain. You mentioned the hostname is not resolving. Does the domain name it's associated with use name servers associated with that particular cPanel server or cluster?

    Thank you.
     
    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