Answer the question
In order to leave comments, you need to log in
How to change the site url in host + load the real one?
Absolutely not for selfish purposes.
It is necessary to change the site address so that when entering test.ru, the content is from test2.ru
But more than that, there is a problem: you need to make sure that when you enter test.ru, the main page has a real page with test2.r and only a couple of pages (false) from another ip.
What are the solutions, methods, and it is desirable that the url in the browser line does not change ...
Answer the question
In order to leave comments, you need to log in
Any http proxy with the ability to edit content on the fly.
Squid, for example.
Or nginx, then it's more difficult. Google it.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question