correct & complete DNS configuration of a domain


Well-Known Member
Nov 20, 2014
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,



Staff member
Apr 11, 2011

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.