Unable to configure second domain on zpanel installed in digitalocean VPS

October 1, 2014 3.9k views

I have successfully created the domain through zpanel (on digitalocean - CENTOS).

zpanel created a folder named asnaircom with index.html (under publichtml folder) . This works fine.

However when I created another domain (, this does not work (though a folder named pickakartcom with index.html has been created by zpanel under publichtml folder)

I have pointed the domain name to the nameservers provided by digital ocean (NS1.DIGITALOCEAN.COM etc).I have also set up the ns in zpanel. I have also waited for more than 48 hours for the domain to propagate.

But when I type the domain URL in a browser, I get the message, "This webpage is not available".

Please help!

4 Answers

Hi Asnair,

I don't know how familiar are you with the whole DNS subject but assuming you know a bit the truth is that you have four options to get trough this and each one have it's own PROS and CONS.

A) Resolve the domains using Digital Ocean's DNS
This means for every new domain you add to the zPanel it also has to be defined on the Digital Oceans DNS.
PROS: You don't need to know much about zones and will be simple to handle.
CONS: If you are thinking on deploy a large network of websites this can be overwhelming because only the Digital Ocean's account owner will be able to manage the DNS in here and any new domain/sub-domain will need to have his intervention.

B) Resolve the domains using your zPanel's DNS
This means you need to define NS records pointing to your droplet IP address and set those NS on the domain registar.
PROS: Any user with an account on the zPanel will be able to add new domains/subdomains and your intervention won't be required since is not necessary to add this on the Digital Ocean's DNS
CONS: The name resolution will be handled by only one IP and this will generate some DNS alerts. Not critical at first if your but not recomendable for large deployments.

C) Resolve the main domain using the Digital Ocean's DNS and any aditional domains using the Droplet's DNS.
This means you need to have the NS records for your main domain glued to the Digital Ocean's DNS IPs and for the rest of domains you need to have those using your own NS glued to your droplet IP.

PROS: The main domain won't get any alert related to it's own name resolution and the only domain you will need to set on the Digital Ocean's DNS will be the main one and as before, any user with an account on the zPanel will be able to add new domains/subdomains and your intervention won't be required because those don't need to be named on the the Digital Ocean's DNS
CONS: Again, the name resolution will be handled by only one IP and this will generate some DNS alerts. Also a warning (not critical error) on the zones might report some NS as inconsistent if they are defined only on the child but not on the parent zone.

D) Use the domain registrar (for each domain) to organize the DNS zones. (If/When available, considering the domain resellers normally have not a clue about it and also that not all the registrars have and easy way to find this resource on their tools).
PROS: You don't have to worry about the Digital Ocean's DNS at all
CONS: Depends on your registrar tools how easy or difficult the process can be to manage the name resolution for the domain.

Depending on your choice there will be a few things to think about. Be aware that in the C option (The one I'm using) looks like there migth be a risk of conflict on the name resolution according to some people.

I'm currently counseling on the exactly same subject to another user here (FALUDEROCA) at Digital Ocean and I posted this on his behalf.

If you are jumping on this to manage a large webhosting activity you should start thinking about to have your own droplets for name resolution (NS1, NS2) with BINDS (at least two) and separate droplets for webserver and mail server in order to have a clustered scheme similar to this one.

I see the domain is pointing to digitaloceans name servers. But they are not resolving it.

Double check your dns entires in the DigitalOcean control panel or create them if you haven't.

All I see is the domain has no A records..

Please visit your control panel in DO, there in DNS, set a A Record to your droplet IP.. I am no expert but I set same both in my Domain control panel, as well as DO control panel..

Check here, in Open DNS Cache, it says the domain has no A Records..

By the way, I am too using zPanel, and since zPanel project is sold and the dev team has moved to Sentora, so if you are setting up a new installation, try to install that instead of zPanel..

  • Sentora is a fork of the zPanel project (now owned by HostWinds) still in beta stage and is not recommended to use it until they release the official version.

    See: About Sentora official release

  • I have been participating in their forum, as what I see, that they have not yet released it since they have not yet fully tested the migration module of Sentora from zPanel..

    Apart from that, as standalone, the sentora is good enough.. Its the latest version of zPanel actually :P

    Secondly, problem is zPanel is that there is no help (yes sentora guys are willing to help but problems, which are critical, is not handled well, like AWStats in zPanel)..


I also face the same problem the work around is as 'hunky' explained but which is not a possible option when we setup a reseller account.

This becomes a big headache when we choose option 'B' explained by 'grisales' (But he is not addressing the problem in the original post).

If anyone finds the solution please share it

Have another answer? Share your knowledge.