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!

correct & complete DNS configuration of a domain

Discussion in 'Bind/DNS/Nameserver' started by trucmuche, Jan 11, 2017.

  1. trucmuche

    trucmuche Well-Known Member

    Nov 20, 2014
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator

    I have a "main" VPS for hosting my websites and I just ordered two others VPS (each with dedicated IP address of course) to use as DNS servers for my hosting VPS. My VPS provider is going to configure those two DNS servers and WHM on my main VPS to "interact correctly" but now, I have to learn how to use WHM correctly to configure DNS entries for my domains.

    For now, I configured manually the zone file of my domains in the Gandi's interface like this (let say that is the IP address of my main hosting VPS) :
    * 10800 IN A
    @ 10800 IN A
    cpanel 10800 IN A
    ftp 10800 IN A
    mail 10800 IN A
    webdisk 10800 IN A
    webmail 10800 IN A
    whm 10800 IN A
    www 10800 IN A
    @ 10800 IN MX 10
    I don't know if this is a perfectly correct and complete zone file, and I don't know if there is unnecessary/duplicate entries... For instance, I never use the address "" so is that entry necessary or should I remove it ?
    Are the lines "whm" and "cpanel" mandatory ?

    Many thanks for your advices and help,

  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator

    You actually won't have to manually create the DNS zones if the cPanel server is handling the DNS. The zones are automatically created when adding domain names.

    The webdisk, webmail, and cpanel entries are required for the use of the proxy subdomains feature so you can access those services over port 80.

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

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