2 domain names

carloscastinda - July 4, 2006 - 07:02

How can I have 2 domain names pointing to the same website?

Thanks

Carl

Depends on what you want

JBrauer - July 4, 2006 - 07:21

If you want them to point to the exact same website (same content) then it's a matter of telling Apache (or your web server) that the directory for both sites is the same.

If you want to do two sites from the same codebase (with different databases and content) check out the Handbook section on multi-site installation.

------------------------------
Adding Understanding

if you use cpanel you can

godam64 - July 4, 2006 - 13:09

if you use cpanel you can add parking domains that will hit the same content and database with the main site http folder. but i think drupal only limiting 1 target url, so it'll work like domain forwarding. it's totally work with phpbb.

beware that google and other search engine can ban your sites if you make site clones.

Netska Organisasi Invo Banget UI

forwarding

goggie - July 4, 2006 - 13:52

Hi

You will have to forward one of the domain URL's to the other domain URL - this is the simplest and is done at your domain registrar.

This forwarding actually has nothing to do with Apache, Drupal or PHP.

If your one URL is forwarded at your registrar, google bots are a bit more friendly (OK, IMHO)

 
 

Drupal is a registered trademark of Dries Buytaert.