Your Cart is Empty Reseller Login or Sign up FAQ Search

How to add a new DNS Zone with WHM

Nowadays, running a web hosting business is a task that demands a carefully planned and well executed working strategy. We at Resellers Panel, offer you the best combination between easily set up and technically most sophisticated hosting solutions by combining low cost Reseller plans and powerful Dedicated Hosting packages. We are one of the very few companies to allow their clients to resell Dedicated Hosting Servers as well as Virtual Private Servers and Semi-Dedicated Servers freely and with great respect to earning reasonably profitable income. Having a Dedicated Server requires at least basic knowledge in Linux and how the Unix Operational systems work in general. Using our Free Reseller Program, it is fairly easy to become a dedicated server reseller and start reselling Dedicated Servers, Virtual Private Servers, Semi-Dedicated Servers with various features and control panel solutions, among which cPanel, DirectAdmin and the ResellersPanel very own Hepsia Control Panel or be a Dedicated Server client that use the service for their personal business. You can choose between several Operational System platforms such as Centos, Ubuntu and Debian. You can use the Dedicated Hosting services both as a dedicated, vps and semi-dedicated servers reseller, or as a client yourself.

A very basic and key premise for a Dedicated Server running on the Internet, fully online, is DNS Resolution. Resolution occurs when a client queries a name server to obtain the IP address with which it wants to connect. If a name server in the local domain cannot resolve a client's request, it queries other servers to locate a server that can. Setting up your DNS Server correctly is the only way to have your web site be displayed on the Internet. In order for your domain name to resolve correctly, it must have a DNS Zone that must be setup correctly on the Server (This tutorial suggests that you already have a DNS Server installed on your Dedicated machine!). Adding a DNS Zone via cPanel's administration backend - WHM, is quite easy and straightforward! You need to go to the DNS Functions area where to add the DNS Zone.

WHM > DNS Functions > Add a DNS Zone

This feature allows you to set up a DNS zone on your server. A DNS zone is an administrative space or portion of the domain name system. This space is responsible for directing traffic to the correct web locations.

When you add a domain to your server, WHM automatically configures its DNS zone; therefore, the Add a DNS Zone feature is primarily for adding DNS zones for remote domains or setting up DNS Zones per Registrar regulations!

To add the DNS zone:

  1. Under Domain Selection, enter the IP address in the Ip box.
  2. Enter the domain name in the Domain box.
  3. Click Add Zone.

You can always edit the zone file from

WHM > DNS Functions > Edit DNS Zone

$TTL 14400
your-site.com.  86400   IN      SOA             dns1.your-site.com.        your-site.com.   (
                                                2010022301 ;Serial Number
                                                86400 ;refresh
                                                7200 ;retry
                                                3600000 ;expire
                                                86400 ;minimum
        )
your-site.com.  86400   IN      NS      dns1.your-site.com.
your-site.com.  86400   IN      NS      dns2.your-site.com.
your-site.com.  14400   IN      A       192.168.0.2
localhost       14400   IN      A       127.0.0.1
your-site.com.  14400   IN      MX      0       your-site.com.
mail    14400   IN      CNAME   your-site.com.
www     14400   IN      CNAME   your-site.com.
ftp     14400   IN      CNAME   zooldubai.com.
dns1    14400   IN      A       192.168.0.2
dns2    14400   IN      A       192.168.0.2
cpanel IN A 192.168.0.2
whm IN A 192.168.0.2
webmail IN A 192.168.0.2
webdisk IN A 192.168.0.2

The NS Records and the A Record are vital for the DNS Resolution of the domain name itself. The Name Servers are pointed and assigned with IP Addresses which the DNS Server will respond for and which the Apache Web Server will rellocate for the exact host that is requested!

« Back to menu