Answer the question
In order to leave comments, you need to log in
How to make two domains for one site?
Hello.
The essence of the question is this, there is a site with the site.com domain. There was a need to use the domain exampe.com.
There were posts on the site (forum) where people shared photos from photo hosting (img.site.com). It is necessary that when changing the domain to example.com, pictures from the photo hosting work.
Answer the question
In order to leave comments, you need to log in
On the second hosting, put a simple script that will redirect the request to the main site with the same parameters.
Or make a complete copy of the site, then you get a mirror.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question