Using virtual sites to run identical websites on different URLs

nutkenz - October 24, 2008 - 16:24
Project:Virtual Sites
Version:6.x-1.3
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

I want to have identical websites running on immo-egypte.be and immo-egypte.nl, which both use the files from immo-egypte.com.

I tried using the Virtual Sites Module to set-up a condition which checks on hostname immo-egypte.be in order to load a virtual site. I might not have done this correctly since the Drupal Installation Wizard was loading when visiting the domain.

Is this how virtual sites is supposed to be used or am I trying something outside of the scope of this module? If not, how can I make this work properly?

#1

chipway-drupal - October 28, 2008 - 09:26

Hi,

This is a use cae of Virtual Site. My owns were running fine until some days ago.

i open an issue for my case, and may be yours is related.

#2

KathyIce - May 7, 2009 - 15:58

I had this problem too... I think the docs assume you have a subsite where all paths (aliases) are something along the lines of http://mymainsite.com/subsite/* - So, they tell you to define a condition for pages.

In my case, I want to run the same sites from the same base... as described above.
So I tried
1. defining a condition under Requirement:hostname -
2. selected "only on listed host names" and
3. entered myothersite.com as the hostname.
4. selected that condition for my virtual site.

It worked... I'm happy.

We are planning to have a number of different "faces" for our main site - so this module will make things much simpler for us to manage... or at least not as complicated. Thanks to the developer(s).

 
 

Drupal is a registered trademark of Dries Buytaert.