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
|
Recent comments
23 hours 4 min ago
1 day 2 hours ago
1 day 3 hours ago
1 day 4 hours ago
1 day 6 hours ago
1 day 7 hours ago
1 day 8 hours ago
2 days 55 min ago
2 days 1 hour ago
2 days 5 hours ago