[support] Multisite setup for a subdomain
Earnie Boyd
earnie at users.sourceforge.net
Wed May 2 11:50:26 UTC 2007
Quoting Albert Cuesta <acuesta at gmail.com>:
> Hi
>
> I have a working Drupal 4.7 site at www.mydomain.com (no, I can't
> move to 5.x yet) and now I want to add a second site at
> subdomain.mydomain.com. I have set up the required directories as
> follows:
>
> public_html/
> public_html/default (settings.php for the the main site)
Uhm, that should be public_html/sites/default/settings.php
> public_html/sites
> public_html/sites/subdomain.mydomain.com (settings.php for the new site)
Yes, that is correct. Are you using the same DB? Did you prefix the
tables with subdomain_?
> public_html/sites/subdomain.mydomain.com/files
You will need to modify your files setting in the administration GUI.
> public_html/sites/subdomain.mydomain.com/modules
> public_html/sites/subdomain.mydomain.com/themes
>
These two are only needed if you plan to use modules and/or themes that
are not present in the default site.
> As I'm using cPanel, I have followed the instructions at http://
> drupal.org/node/125539#comment-208916, so the symbolic link for is
> created and seems to be pointing to the root.
>
I don't know about this, I don't use cPanel.
> However, when I point my browser to subdomain.mydomain.com for
> installing, I only get a 500 Internal Server Error.
>
Usually a result of something not configured correctly. You must
execute the install.php script manually for the subdomain; i.e.
http://subdomain.mydomain.com/install.php.
> Can somebody tell me what am I doing wrong?
>
Be sure to check your log and system files. For debugging, you might
want to add ``php_value display_errors On'' to your .htaccess file.
Earnie
More information about the support
mailing list