Hi All!
I have just hire a dedicated server, linux OS (centos) and apache server.
I have made a successful multisite setup with two sites, BUT no domains are associate yet. My sites folder structure looks like this:
all/themes
all/modules
default/files
website1.com/files
website1.com/modules
website1.com/themes
website1.com/tmp
website2.com/files
website2.com/modules
website2.com/themes
website2.com/tmp
I have also modified my HOSTS LOCAL FILE to reach both sites: all works fine, sites are correctly reached, but I have the following problem:
If I digit only my server IP in my address bar (e.g: http://95.110.XXX.XX/ ) the response show the first drupal installation wizard screen to setup a news site (install.php).
How to avoid this?
(I have already deleted the "default" directory but without success)
Thank you very much and sorry for my bad english.
MXT
Comments
make it the ip address
make the folder name the ip address to the server. have you tried doing 95.110.xxx.xx as a folder name? To get two to point to it you'll need to do symlinks on the server.
Ex Uno Plures
http://elmsln.org/
http://btopro.com/
http://drupal.psu.edu/
(I have already deleted the
Well, basically, you have two choices: undelete/recreate that directory, pick one of your sites to be the "main site," and then move its settings.php file into the default directory; or, just don't sweat it. If you don't have a pre-edited settings.php in your default directory, nobody is going to be able to use that installation script to actually install a site anyway unless they also have access to your server and can do that step themselves.
The Boise Drupal Guy!
What about symbolic links?
Thank you both for your answers.
May be symbolic links another solution? In that case: WHERE I have to put them end where they have to point to.
Thank you!
MXT
Symbolic links are sometimes
Symbolic links are sometimes useful when building multisites, but I'm not sure how they'd help you with what you describe above.
The Boise Drupal Guy!