Answer the question
In order to leave comments, you need to log in
How to set up dns on vds?
Good day to all, I ran into such a problem:
I have a vds server on some Canadian hosting, a site on beget hosting and there is also a domain from a site on yukoz.
Vds is configured and working, I need that when typing a domain name, I would be sent to vds and not to the site. How can I do it???
Answer the question
In order to leave comments, you need to log in
sent to vds and not to the site ...
Explain what it means to send to vds?
It is quite difficult to understand your infrastructure without further clarification, but you can try, suppose:
1. You bought the domain name mydomain.ru, bought from a provider who provided you with DNS zone management (primary and secondary).
Then you need to make an entry (in the bind syntax):
"@ 86400 IN A IPVDS"
2. For a site hosted by beget, you need to make an entry
"www 86400 IN A IPBEGET"
3. For a site on yukoz
"mysite 86400 IN A IPUCOS"
then on
mydomain .ru will respond to VDS
www.mydomain.ru the BEGET site will respond (there you need to configure the apache virtual server to this name, but this is a separate question)
mysite.mydomain.ru - the UCOS site will respond (it will also require setting up a virtual server),
but in this situation, if BEGET / UCOS is already running, then it's easier to record
vds 86500 IN A MyVDSIP
and connect to vds at vds.mydomain.ru .. .
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question