[support] Help with Multisite

Jamie Holly hovercrafter at earthlink.net
Fri Aug 12 19:40:20 UTC 2011


Simply:

127.0.0.1 site1.dev
127.0.0.1 site2.dev

(I use .dev for all my development stuff - since this is being done
locally you can make anything you want!)

In Apache you can either setup a VHost for each individual domain (best
route for logging and that), or you can set the ServerAlias directive to
multiple domains, just separate them by a space.

Jamie Holly
http://www.intoxination.net 
http://www.hollyit.net


On 8/12/2011 3:36 PM, EPA WC wrote:
> Thanks Jamie and Nancy. So let's say I have two sites called site1 and
> site2 and I want to make them subdirectory sites on my single drupal
> installation. I don't have domain names set up at all. But I want to
> be able to access these sites with localhost or my ip address with
> /site1 or /site2. How do I go about configuring apache and etc/hosts
> file to make this simple scenario work?
>
> Thanks!
> Tom
>
>
> On Fri, Aug 12, 2011 at 3:25 PM, Ms. Nancy Wichmann
> <nan_wich at bellsouth.net> wrote:
> > First, you will have to restart Apache after changing vhosts.conf.
> > Second, some browsers, such as FF, also require a restart after the change.
> >
> > Nancy
> >
> > Injustice anywhere is a threat to justice everywhere. -- Dr. Martin L. King,
> > Jr.
> >
> > ________________________________
> > From: EPA WC <epawcweb at gmail.com>
> > To: support at drupal.org
> > Sent: Friday, August 12, 2011 2:47 PM
> > Subject: [support] Help with Multisite
> >
> > Hi All,
> >
> > I am relatively new to Drupal. I have Drupal 6.20 installed on Ubuntu
> > 11.04 using repository. I tried to get multisite support going
> > according to instructions found online. I've created new database for
> > each of the new sites and copied files from default to new site
> > folders using:
> > sudo cp -r /etc/drupal/6/sites/default /etc/drupal/6/sites/site1.net.
> > I tried to access it in the browser with
> > http://localhost/drupal6/sites/site1.net/ but it gave me "Forbidden"
> > permission error. I did change the permission of the folder using
> > "chmod 666". Can someone help me out or point me to the right
> > direction?
> >
> > Thanks!
> > Tom
> > --
> > [ Drupal support list | http://lists.drupal.org/ ]
> >
> >
> >
> > --
> > [ Drupal support list | http://lists.drupal.org/ ]
> >


More information about the support mailing list