Report this

What is the reason for this report?

What nameservers to use / how to set up multiple domains within one VPS (virtualmin)

Posted on December 13, 2013

Hello,

I succesfully installed virtualmin. I have set up one domain as virtual server , this works. I see my HTML uploaded to that domain.

However, I now try to set up multiple domains in virtualmin. So I created a sub-server (thats how virtualmin calls it), being my domain. I tried to use own nameservers for this domain, which I have setup in my master domain.

But this does not work. Why does this not work, and any info/tutorials on how to set up multiple domains in virtualmin, and what NS settings to use?

To summarize my question: I have 2 domainnames registered by an external domain registar. I want both domains running on a single VPS. How can I do this?

Thanks a lot in advance! Been bugging with this the whole day.



This textbox defaults to using Markdown to format your 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.

Thanks Pablo, you made it al much clearer now. I will definitively look for a new registar, and I agree that just using one nameserver would not be smart (yes, there is going to run production apps on the VPS…). I think, until I have more knowloedge of nameservers, I just will go with ns1, 2 and 3 of digitalocean. That seems like the most safe option right now.

Glue records are not A records, they’re two different things. I would contact the registrar and see if they support glue records.

<b>“I tried to use own nameservers for this domain, which I have setup in my master domain.”</b> <br> <br>How? <br> <br><b>"Why does this not work… "</b> <br> <br>It depends on how you set things up. You may want to check out <a href=“https://www.digitalocean.com/community/articles/how-to-create-vanity-or-branded-nameservers-with-digitalocean-cloud-servers”>How To Create Vanity or Branded Nameservers with DigitalOcean Cloud Servers</a>.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.