W
W
webov_web2017-07-20 00:33:01
Domain Name System
webov_web, 2017-07-20 00:33:01

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


For the subdomain, there was an A-record in the form of the IP address of the subdomain, relatively speaking, 22.222.222.22
I tried to put the CNAME-record example.site.ru. for example and www.example

Nothing helps. WordPress works on the technical domain example.site.ru.swtest.ru, but not on the one that needs example.site.ru.

And the most important question.
How to delegate the rights to the example.site.ru domain to another hosting if site.ru is on the constructor? Is it possible?

Please help, I've been trying to fix this problem all day, but nothing works. First time I encountered this.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Zhurkin, 2017-07-20
@webov_web

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 question

Ask a Question

731 491 924 answers to any question