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

How to manage SubDomain in VestaCP Panel while using external name server?

Questions regarding the DNS Server
BIND
Post Reply
  • Print view
Advanced search
7 posts • Page 1 of 1
tinkyawoo
Posts: 5
Joined: Wed Mar 29, 2017 9:28 am

How to manage SubDomain in VestaCP Panel while using external name server?
  • Quote

Post by tinkyawoo » Wed Mar 29, 2017 9:32 am

Hi.

I want to allow my users to create their own subdomain in VestaCP Control panel and I dont want to use my own DNS server but using external DNS server such as cloudflare or Digital Ocean. Is it possible to allow my users to manage their own subdomain in VestaCP?
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: How to manage SubDomain in VestaCP Panel while using external name server?
  • Quote

Post by skurudo » Wed Mar 29, 2017 11:23 am

Make A record for your subdomain on external name server
or use wildcard and you don't need make A record every time, when you add subdomain.
Top

tinkyawoo
Posts: 5
Joined: Wed Mar 29, 2017 9:28 am

Re: How to manage SubDomain in VestaCP Panel while using external name server?
  • Quote

Post by tinkyawoo » Thu Mar 30, 2017 12:01 am

Thanks. That work well without managing DNS on VestaCP.

One problem though, that is if I use wild cast, if the subdomain web is not created on VestaCP, it would always falls to one particular website on my host. How can I create a default dedicated website to fall on if people browse non existing subdomain?
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: How to manage SubDomain in VestaCP Panel while using external name server?
  • Quote

Post by skurudo » Thu Mar 30, 2017 8:39 am

tinkyawoo wrote:Thanks. That work well without managing DNS on VestaCP.
Yep, if you use external dns, you should change records there ;-)
tinkyawoo wrote:One problem though, that is if I use wild cast, if the subdomain web is not created on VestaCP, it would always falls to one particular website on my host. How can I create a default dedicated website to fall on if people browse non existing subdomain?
With resctrictions in nginx conf:
viewtopic.php?t=10188#p57753
Top

tinkyawoo
Posts: 5
Joined: Wed Mar 29, 2017 9:28 am

Re: How to manage SubDomain in VestaCP Panel while using external name server?
  • Quote

Post by tinkyawoo » Thu Mar 30, 2017 10:00 pm

thanks for your pointer, that block accessing my raw IP and that's good.
But, as I have created A record for * to bypass creating every DNS for every single new subdomains, if I access non existing subdomain on my host, it still falls to that particular website that I created first on that host.

How should I configure to fall on a particular website I created as a lending page?
Top

John_Bour
Posts: 1
Joined: Wed Apr 12, 2017 7:23 am

Re: How to manage SubDomain in VestaCP Panel while using external name server?
  • Quote

Post by John_Bour » Wed Apr 12, 2017 7:31 am

I had the same problem and solved it by changing the first ligne in /etc/nginx/conf.d/default.conf from
listen 80;
to
listen IP:80;

Hopefully I have only one IP on the server and the tip is not surprising after all

Hope it help ;)
Top

tinkyawoo
Posts: 5
Joined: Wed Mar 29, 2017 9:28 am

Re: How to manage SubDomain in VestaCP Panel while using external name server?
  • Quote

Post by tinkyawoo » Thu Apr 13, 2017 11:47 am

How do you set non existing subdomain to fall on a particular website you hosted?
Top


Post Reply
  • Print view

7 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