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!

Can I have dns zones per website?

Discussion in 'Bind/DNS/Nameserver' started by Karl1, Jan 26, 2015.

  1. Karl1

    Karl1 Active Member

    Joined:
    Jul 14, 2011
    Messages:
    31
    Likes Received:
    2
    Trophy Points:
    58
    Location:
    Netherlands
    cPanel Access Level:
    Root Administrator
    Hi,

    I have a VPS, and 6 sites to be on it.

    My question is:
    Is it better to have a dns zone (Nameserver ) and make all the websites use that one?

    Can I have a Nameserver per website (like ns1.site1.com, ns1.site2.com,..)
    If so how can it be done?

    Thanks
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

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

    Either method is acceptable, but it's likely easier to maintain consistency in the DNS Zone by using the same name servers for each website. The following thread should help you get started:

    Tutorial - Setting Up Name Servers

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. StuartMacfarlane

    Joined:
    Jun 24, 2010
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    51
    Per website is possible but would be time consuming setting it up per website unless you only have 6 websites and don't plan to add more. You would simple setup glue records at each of your domains registras like so:

    domain1.com
    ns1.domain1.com -> X.X.X.X
    ns2.domain2.com -> X.X.X.X

    repeat for each domain using the same IP address for ns1 and ns2 each time.
     
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