By MrHoju on
I am trying to get multiple sites running for my drupal installation and I am not going to be using a domain name. Right now I just have my drupal running on a networked machine so the actual url is never going to be www.domainname.com. It will always be machinename/drupal. How do I set up multiple sites without a domain. The instructions all point to domain names.
I have created another folder, test, in the sites directory and copied settings.php into that directory. Now how do I pull up that site without a domain name? I can't get the site with machinename/test or machinename/drupal/test.
Help this Drupal newbie.
Comments
Multiple sites
Hi.
Your new folder in the sites directory should be machinename.test
You'll also need to create a symbolic link in the directory where drupal is installed, pointing to your drupal installation.
For example, I have a machine called openness, and a drupal site installed in /var/www/mcvs.
To create a second site, I created a directory called openness.play in /var/www/mcvs/sites, copied the settings.php from sites/default to it, and then created the symlink with
P.
Thanks - One More Question
I have changed the folder name to machine.test but it looks like the command line info for linux/unix. Is there something more I have to do on a windows machine? Also, would I then just type machinename.test into my browser?
Multiple sites
Hi.
I'm sorry; I don't know how to do this on a Windows machine :-(
P.
Can Any Windows Users Help?
I have renamed the folder to the proper name... now how do I get drupal to recognize the new test site?
Bump - Any Windows Users?
How do I do the bottom part in windows? "cd/var/www ln -s mcvs play"
"For example, I have a machine called openness, and a drupal site installed in /var/www/mcvs.
To create a second site, I created a directory called openness.play in /var/www/mcvs/sites, copied the settings.php from sites/default to it, and then created the symlink with
cd /var/www
ln -s mcvs play
P."
More Info - Apache.conf file
I found this thread... http://drupal.org/node/55742
And someone said that an Apache.conf file had to be modified as well. Is this true? If so, what part of the Apache.conf file needs to be changed?