Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other Mirroring Multiple URLs, but different homepages? Reply To: Mirroring Multiple URLs, but different homepages?

#186833
__
Participant

Alright, first off, I don’t think you know what “mirroring” means. What you’re describing is simply pointing URLs at content.

There’s two parts to what you are describing. First, there is the domain name, which seems to be the biggest part of your issue. If you have several domain names that you want to resolve to the same site, you simply need to change their DNS records to point at your server. In most cases, you can do this yourself via whatever service you registered those domain names with. If your hosting is with a different company, you’ll need to find out the urls for their nameservers first (again, probably available on their control panel or FAQs page).

The next part is handling specific paths once the user gets to your site. Assuming you use Apache, you can use mod_rewrite to show different pages based on the host name and/or url path. But, in any case, the first step is to get all of the domain names to point at the correct server.