Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion
  • Search

Multiple domains

General questions about VestaCP
Post Reply
  • Print view
Advanced search
8 posts • Page 1 of 1
nccdebug
Posts: 19
Joined: Sat Nov 16, 2013 2:26 pm

Multiple domains
  • Quote

Post by nccdebug » Sat Nov 16, 2013 2:38 pm

Dear all I’ve been trying to install a control panel with Vesta and be able to manage different domains for my clients website in a single DigitalOcean droplet.

I followed all steps in this article, but its not working... something is missing...

https://www.digitalocean.com/community/ ... ud-servers
Top

Graham
Posts: 57
Joined: Wed Sep 25, 2013 6:32 pm

Re: Multiple domains
  • Quote

Post by Graham » Sat Nov 16, 2013 6:02 pm

You might get more answers if you describe the problems you're having.
Top

nccdebug
Posts: 19
Joined: Sat Nov 16, 2013 2:26 pm

Re: Multiple domains
  • Quote

Post by nccdebug » Sat Nov 16, 2013 7:24 pm

sorry... i have an issue hosting multiple domains in vestcp... its similar to the following; (I quoted from another user having same issue)

These are the steps I’ve been following but still having some trouble working it out!

1. Created arsenbenda.com domain on my Vesta panel under admin web with DNS support:
[https://drive.google.com/file/d/0BxgnbU ... sp=sharing]

2. Created the DNS records in the DO DNS:
A ns1.arsenbenda.com. 198.199.120.125
A ns2.arsenbenda.com. 141.0.170.89
A ns3.arsenbenda.com. 198.199.95.114
NS ns1.arsenbenda.com.
NS ns2.arsenbenda.com.
NS ns3.arsenbenda.com.
[https://drive.google.com/file/d/0BxgnbU ... sp=sharing]

3. Logged on my registar and changed the names servers
ns1 -> 198.199.120.125
ns2 -> 141.0.170.89
ns3 -> 198.199.95.114

4. Within vesta panel inside user account settings set default name servers to ns1.arsenbenda.com, ns2.arsenbenda.com, ns3.arsenbenda.com
[https://drive.google.com/file/d/0BxgnbU ... sp=sharing]

Now for the other domains:

5. Modified name servers on second damain to:
ns1.arsenbenda.com, ns2.arsenbenda.com

6. Inside vesta panel added domain with DNS support check mark selected.
Modified NS and A records as on “Point 2.”
[https://drive.google.com/file/d/0BxgnbU ... sp=sharing]

7. inside user account settings set default name servers to ns1.arsenbenda.com, ns2.arsenbenda.com, ns3.arsenbenda.com

After all this work I get
“No name servers found for arsenbenda.com.” for second domain as well!

What did I do wrong?
Top

skid
VestaCP Team
Posts: 1476
Joined: Wed Apr 06, 2011 11:12 pm

Re: Multiple domains
  • Quote

Post by skid » Sun Nov 17, 2013 10:13 am

If you want to manage DNS in vesta then you don't need DO DNS manager at all.
IP address for child name servers should be your DO instance IP address.

Domain registrar (i.e goddady or someone else )
1. Create ns1/ns2 record and point them to instance ip address
2. Change name servers to ns1.site.com and ns2.site.com

Vesta control panel
1. Add domain site.com
2. Edit dns domain site.com -> select child-ns template -> Save
3. Set ns1.site.com and ns2.site.com as default name servers

That's all. You can now add as many domains as you want on ns1.site.com/ns2.site.com
Top

nccdebug
Posts: 19
Joined: Sat Nov 16, 2013 2:26 pm

Re: Multiple domains
  • Quote

Post by nccdebug » Tue Nov 19, 2013 7:32 am

it works great. thank you indeed
Top

nccdebug
Posts: 19
Joined: Sat Nov 16, 2013 2:26 pm

Re: Multiple domains
  • Quote

Post by nccdebug » Mon Nov 25, 2013 4:55 pm

Hi Skid,

what if i want to use vanity name servers... i have these DO IP as glue records on godaddy

what to do next?

ns1 -> 198.199.120.125
ns2 -> 141.0.170.89
ns3 -> 198.199.95.114

thank you
Top

skid
VestaCP Team
Posts: 1476
Joined: Wed Apr 06, 2011 11:12 pm

Re: Multiple domains
  • Quote

Post by skid » Mon Nov 25, 2013 5:58 pm

If you go with vanity setup, then point ns records to your instance ip address. And two records are enough for that.
ns1 -> xxx.xxx.xxx.xxx
ns2 -> xxx.xxx.xxx.xxx

where xxx.xxx.xxx.xxx is your ip.

Then change name servers to ns1.your-site.com and ns2.your-site.com and proceed with the vesta part:

1. Add domain your-site.com
2. Edit dns domain your-site.com -> select child-ns template -> Save
3. Set ns1.your-site.com and ns2.your-site.com as default name servers
Top

resif
Posts: 6
Joined: Thu Sep 28, 2017 2:13 pm

Re: Multiple domains
  • Quote

Post by resif » Wed Feb 16, 2022 5:04 pm

do we need add a reverse dns to main domain for add more domains with same dns

like

ns1 a ns1.domain.com
ns2 a ns2.domain.com

i did this it was wroking but i forgot how was excatly
Top


Post Reply
  • Print view

8 posts • Page 1 of 1

Return to “General Discussion”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password