D
D
Dmitry Temnikov2016-06-15 20:52:10
Domain Name System
Dmitry Temnikov, 2016-06-15 20:52:10

How to set up automatic redirection from one domain to another using DNS records?

Given:
- Two domains are registered with the registrar. Both are delegated to Yandex by replacing NS records
- Landing page platform in the settings of which the first domain is specified
- Requests from the platform to delegate the domain to them are ignored. Adequately, records of type A and CNAME type are configured through Yandex DNS. Accessing the domain successfully opens the landing page. Profit
New inputs:
- A new domain is registered in the landing page platform (only one current domain can be specified there)
- Similarly, records of type A and type CNAME are registered on the new domain via Yandex DNS
Required:
- The page opens on the old and new domain
What is needed is a redirect from the old domain to the new one. Records of type A and CNAME type for the old domain are still in the Yandex DNS settings. But accessing the old domain brings the landing page of the platform to the 404 page, since the old domain is already missing in the settings and accessing it (albeit adequate) does not give a result. The platform does not know which page to give. These are the limitations of the platform - one page one domain

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey, 2016-06-15
@exibit777

1) The record type "A" happens, the type "@" does not happen. @ indicates a domain name.
2) Redirect only by means of DNS can not be done.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question