Answer the question
In order to leave comments, you need to log in
How to link 2 domains for one site without a redirect?
Good afternoon, please tell me, in general, is it possible to link two different domains for one site, only so that it would not be a redirect from one to another, but directly accessible from both addresses. And will it be possible to do this without a dedicated IP (on a shared)?
So far, from the sane, I found only this. But the logic of the manual is not entirely clear to me, because in the database for wp, the domain name is hard-coded.
Thank you.
Answer the question
In order to leave comments, you need to log in
If your shared hosting allows you to edit DNS resource records, use CNAME.
site2.com | CNAME | site1.ru
Add the same IP in the second domain
Do not forget that in the
nginx settings you need to add
either apache
Well, or add an alias in the administrative panel
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question