How do I set subdomain with Vesta?


I have installed Vesta CP on my droplet (Ubuntu 14.04). I have also gotten my site working at the main domain – let’s call it

I’d like to set up a separate web site at and use the same Vesta installation as the control panel for both.

Here are my current configs:

In my domain registrar (, I have the nameservers set to Digital Oceans’ (,,

In Digital Ocean, under DNS, I have there. Opening its details shows this: A @ (droplet’s IP address) CNAME www NS NS NS

In Vesta, under DNS, I have added, and also added an A Record for as part of’s records. For its IP, I put the droplet’s IP.

Still in Vesta, under Web, I have added and as separate web sites.

In my web browser, I am able to reach but not Same for FTP – works but not

Any idea what I’m doing wrong?

Also, should I be adding the subdomain A Record in Vesta’s DNS section or in Digital Ocean’s DNS section? Which one takes precedence, or how do I know which one is being used?

Much thanks in advance!


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

For this, you should be using DigitalOcean’s DNS exclusively, and setting up your subdomain there as well.