Answer the question
In order to leave comments, you need to log in
How to create an alias (mirror) of the site?
Let's say there is a site vk.com
How to set up your domain, for example site.ru, so that when you enter it, it was vk.com (without a redirect)? Naturally, site.ru should be in the browser line
Answer the question
In order to leave comments, you need to log in
No, the browser will not send cookies.
You can use nginx + proxy_pass, but you won't be able to log in.
And this web server needs to be configured.
I do this
domain1.com, his A record looks at 123.123.123
domain2.com, everything is the same as the first one.
Depending on which web server you have, google how to make alias for it, Apache has ServerAlias domain2.com
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question