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 DNS Server
  • Search

Setting my own DNS on VPS so I can point domains to that VPS

Questions regarding the DNS Server
BIND
Post Reply
  • Print view
Advanced search
5 posts • Page 1 of 1
redads
Posts: 1
Joined: Fri Jan 15, 2021 10:56 am

Os: Ubuntu 17x
Web: nginx + php-fpm
Setting my own DNS on VPS so I can point domains to that VPS
  • Quote

Post by redads » Fri Jan 15, 2021 10:59 am

I bought Ubuntu VPS on namecheap with VestaCP

I'm trying to set up my own DNS to have ability to point domains to my VPS using just DNS not A records.

I followed instructions from this video: https://www.youtube.com/watch?v=M26gmTx2f7A

Domain (ie. mydomain.com) that I added is fully functioning, have SSL. So then I bought another domain and set up DNS to ns1.mydomain.com and ns2.mydomain.com that new domain isn't working at all.

I don't know what I'm missing, trying to figure it out for like week now.
Top

Stage4000
Posts: 7
Joined: Tue Nov 12, 2019 4:40 am

Os: CentOS 6x
Web: apache + nginx
Re: Setting my own DNS on VPS so I can point domains to that VPS
  • Quote

Post by Stage4000 » Fri Jul 30, 2021 5:10 pm

Would love to see something on this as well but doesn't look like we are going to get it.
Top

Zape
Posts: 5
Joined: Fri Jan 25, 2019 9:49 am

Os: Debian 8x
Web: apache + nginx
Re: Setting my own DNS on VPS so I can point domains to that VPS
  • Quote

Post by Zape » Sun Nov 28, 2021 6:29 am

On your main domain, have you changed the template to to child-ns?

http://vestacp.com/docs/#how-to-setup-v ... ameservers
Top

sandro
Support team
Posts: 87
Joined: Sun Aug 30, 2020 11:02 am

Os: CentOS 6x
Web: apache + nginx
Re: Setting my own DNS on VPS so I can point domains to that VPS
  • Quote

Post by sandro » Mon Nov 29, 2021 3:27 pm

redads wrote: ↑
Fri Jan 15, 2021 10:59 am
I bought Ubuntu VPS on namecheap with VestaCP

I'm trying to set up my own DNS to have ability to point domains to my VPS using just DNS not A records.

I followed instructions from this video: https://www.youtube.com/watch?v=M26gmTx2f7A

Domain (ie. mydomain.com) that I added is fully functioning, have SSL. So then I bought another domain and set up DNS to ns1.mydomain.com and ns2.mydomain.com that new domain isn't working at all.

I don't know what I'm missing, trying to figure it out for like week now.
I don't quite understand your problem.

Your DNS servers (ns1.mydomain.com and ns2.mydomain.com) need to be configured in VestaCP Packages. (first menu on the Vesta panel)

After that, all new users created in Vesta will use their DNS servers.

Your DNS servers need to be configured in your new domain's DNS zone, for example:

@ ns ns1.mydomain.com
@ ns ns2.mydomain.com

Your DNS servers will also need to be in the Nameserver configuration of the new domain, for example at GoDaddy when you buy a new domain.

And that's it!

By the way, this video you put shows that the person doesn't understand how the DNS service works. (rs)

When you change the Nameserver at GoDaddy, for example, you need to wait a while for this information to be replicated by all DNS servers on the internet.

Typically, this time can range from 1 hour to 3 days. It depends on the country, region, etc.

Setting up SSL is the last thing to do and only after DNS is working do you enable SSL.

I hope it helps.
Top

rj2010ism
Posts: 30
Joined: Thu Jan 03, 2019 11:04 am

Os: CentOS 5x
Web: apache + nginx
Re: Setting my own DNS on VPS so I can point domains to that VPS
  • Quote

Post by rj2010ism » Thu Mar 10, 2022 9:00 am

Try pointing IP to NS..

-------ON VPS---------

......IP/Value...................Record...............Type.............
NS1.domain.com @ NS
NS2.domain.com @ NS
-----------------------------------------------------------------------------
------ON Namecheap------------
go to "Advance DNS"

1- Create own custom name server
2- Select NS1/NS2
3- Insert the domain name and VPS IP
4- Apply
now go back to namecheap dashboard and select " Custom DNS " and fill in your ns details
Top


Post Reply
  • Print view

5 posts • Page 1 of 1

Return to “DNS Server”



  • 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