View Single Post
  #1  
Old 14th January 2010, 17:19
KenKnight KenKnight is offline
Senior Member
 
Join Date: Nov 2005
Posts: 137
Thanks: 0
Thanked 3 Times in 2 Posts
Default Hosting multiple domains to a single doc root

Hi all,

Here's what we are trying to accomplish. We want multiple domains pointing to the same Document Root. Simple enough using DNS alias. The problem we have encountered is this;

We start by assigning our client a sub-domained web site so we can build and demo the site to the client as we work on it. Once live we would add an alias for their full domain name.

All the above works great unless we want the alias to redirect to a sub-folder. We are using Drupal with multi-sites as the backend and it appears as though there are some conflicts with the L redirect and the mod-rewrite stuff that Drupal does in their .htccess file. This has been somewhat confirmed by a couple of other threads I found in the forums here.

The reason for having redirection to the subdirectory is this would give us the ability to implement newer versions of Drupal without having to change all sites at one time.

Does anybody have any pearls of wisdom on how to best handle this?

Thanks,
Ken
Reply With Quote
Sponsored Links