Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 14th January 2010, 18: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?

Reply With Quote
Sponsored Links
Old 14th January 2010, 19:45
till till is online now
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,009
Thanks: 840
Thanked 5,651 Times in 4,461 Posts

Just add them as alias domains in ispconfig. You can not use redirects as drupal uses redirects itself and this will give a conflict. If you need testing websites, create them as new websites with subdomains like test.yourdomain.com
Till Brehm
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Flash Player (version 10.0r22) did not load bobwdn HOWTO-Related Questions 10 11th September 2011 12:08
automatic webmail link admins Installation/Configuration 16 22nd June 2009 17:42
Setting up a new server - Suse 11.1 londonman Server Operation 34 10th April 2009 14:16
Postfix email server problems Access denied 554 554 5.7.1 state 14 AceRimmer Server Operation 4 19th June 2008 15:36
Add Webmin to the system sushestvo Installation/Configuration 44 21st August 2007 17:52

All times are GMT +2. The time now is 15:04.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.