Answer the question
In order to leave comments, you need to log in
How to make a domain on one hosting and a subdomain on another?
There is a site.ru domain registered on REGRU-RU and having nserver: ns1.platformalp.ru.
nserver: ns2.platformalp.ru. and there is a subdomain example.site.ru hosted by spaceweb. How to make it possible to install WordPress on example.site.ru and make everything work?
I installed WordPress, but on example.site.ru it shows a 404 error. From technical support they wrote:
WordPress is correctly installed and working, which can be seen from the technical domain:
example.site.ru.swtest.ru
But for the example.site.ru subdomain, there is a CNAME record that points to the main domain:
~$ host example.site.ru
example. site.ru is an alias for site.ru.
site.ru has address 11.111.111.11
Answer the question
In order to leave comments, you need to log in
In general, it does not matter where and at which registrar the domains are located. I will say more that in general there can be one registrar, and the domain can be serviced, for example, by Yandex DNS hosting or hurricane electric dns.
Now about your situation.
You need to create two entries in domain management:
site.ru. 300 IN A XX.xxx.xxx.185
example.site.ru. 300 IN A Xx.xxx.xxx.139
where ip is the address of the machines that will serve your site.
It is necessary that the machines themselves be ready to accept and process the request.
for fun, you can ping localhost.icce.im :)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question