So far: Two years now I use drupal for my site with no problems. Lets say my site is www.example.com

What I try to do: I want to create a new site, at the subdomain books.example.com and run it with the already installed drupal, to take advantage of the multisite installations (so, when I upgrade the core or install modules, I do that once etc.)

I tried to follow the steps here but obviously I did something wrong.

What I did:
Step 1, I have already drupal running at public_html/sites
Step 2, I created a new mysql database (myname_books) and a subdomain (lets call it books.example.com)
Step 3, I created the /sites/books.example.com folder and copied there default.settings.php from /sites/default. I renamed it settings.php.
Step 4, I changed the permissions for this file (question: also for the file settings.php at /sites/default? I am not sure, so I tried both) to 666.
Step 5. I point my browser to www.example.com/install.php and I get this:
Drupal already installed

To start over, you must empty your existing database.
To install to a different database, edit the appropriate settings.php file in the sites folder.
To upgrade an existing installation, proceed to the update script.
View your existing site.
So I stop there, I don't want to ruin my installation... Obviously I have not understood some crucial points of the multisite installation.

Could you please help me find my way?

Comments

ishworthapaliya’s picture

Hi!

I think at step 5, you should be pointing your browser to books.example.com, which should give you the installation page for your new (multi)site.

Hope this helps!

Ishwor

nikosal’s picture

In that case, what I get is

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@books.example.com

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
Apache Server at books.example.com Port 80

ishworthapaliya’s picture

Oh! I forgot one thing, the document root your subdomain pointing should be public_html and not pubic_html/yoursubdomain.

Please try it and let us all know.

Ishwor

nikosal’s picture

Right, that did the trick.

I had guessed that I had to point to public_html/subdomain, as I have another subdomain, powered by tiki, and that one was pointed at public_html/tiki_subdomain too. So I really don't understand the difference, but thanks anyway, my multi-site drupal installation works fine.

ishworthapaliya’s picture

Alright, good to hear that it is working.

Ishwor