Step-by-step how to hosting domain in ZPanel

In my previous post, I have shown you step-by-step how to install ZPanel on CentOS 6.6 so your VPS / dedicated server is ready to hosting domains, webs, and emails.

In this post I would like to show you how to hosting domain. After you host the domain, you can later manage it to add a new zone record, delete, or edit the zone. For example I will create ‘’.

To create a new domain, navigate to Domain Management > Domains then type the domain you want to create in the Domain name field then click Create button.

ZPanel create new domain


After you click the Create button and no error occurs, you should see a message that changes to your domain has been successfully saved and you can see your domain listed under the Current domains.


ZPanel current domains

Do not panic if status of the domain is Pending. It is because you have not created yet any zone in the domain. Now navigate to Domain Management > DNS Manager to create / manage DNS records for your domain.


ZPanel Manage Domains

Choose the domain from the list of domain to manage it then click Edit. DNS records for your domain will be automatically generated.


ZPanel DNS record domains

You can see above that, ZPanel automatically generated A records, CNAME record, MX record, and NS record for you. You can review the values. Let it as it is if you accept the value or change it to modify.

The system also tells you that the DNS zone has been loaded and can take up to 24 hours to propagate around the globe.

DNS Status for domain:
    Your DNS zone has been loaded without errors.

Please note that changes to your zone records can take up to 24 hours before they become 'live'.

Output of DNS zone checker:
zone loaded serial 2014121031 OK

You can now try to check the DNS records of your domain using DNS lookup utility ‘dig’ as below:

$ dig @

; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.30.rc1.el6 <<>> @
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 54716
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2
;; WARNING: recursion requested but not available

;            IN    A

;; ANSWER SECTION:        3600    IN    A

;; AUTHORITY SECTION:        172800    IN    NS        172800    IN    NS

;; ADDITIONAL SECTION:    172800    IN    A    172800    IN    A

;; Query time: 0 msec
;; WHEN: Wed Dec 10 11:45:00 2014
;; MSG SIZE  rcvd: 113

If you can see the output like above, it means that the domain has been created and configured correctly by ZPanel.

The web directory and sample data web files also automatically created during the domain creation above. You can verify that the default web page is already configured by using a web browser and point the address to your domain name (in this tutorial I use or See image below!

Domain and Web Hosting on ZPanel

In the next tutorial I will show you how to upload / put your web files so it can be accessible through web browsers as your website.