F
F
Fedor Grebennikov2016-06-10 02:29:39
Domain name market
Fedor Grebennikov, 2016-06-10 02:29:39

How to create subdomains on your server without creating an A-record with the registrar?

Greetings.
I have my own dedicated server, running on debian 7, web server - Apache, control panel - Vesta.
I add a domain in the message, at the registrar I prescribe the ip-address of the server to the domain.
But when I need a subdomain, I add it in the server control panel and go to the registrar, where I create an A-record for the desired domain.
The problem is that you have to wait for a dns update for several hours / days.
I also have an account with one of the hosters, where I just add a subdomain in the control panel and it immediately works.
So far, I see the difference in that in the first case, I leave the registrar's NS domain and assign IP, and in the second, I assign hosting NS addresses to the domain and that's it.
How can I make it so that subdomains on my server are created only from the server control panel, without affecting the domain registrar?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey, 2016-06-10
@grebennikovf

add an A entry with the value * and a second entry with the value @

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question