[support] Multisite setup for a subdomain

Cog Rusty cog.rusty at gmail.com
Wed May 2 11:58:19 UTC 2007


On 5/2/07, Albert Cuesta <acuesta at gmail.com> wrote:
> Cog
>
> Thanks for your reply.
>
> You're right, I forgot to mention that:
>
> - Drupal is installed in public_html
> - subdomain is setup (via cPanel) to public_html/subdomain (but the
> directory has been deleted, according to the instructions)
> - the symlink is ln -s public_html subdomain (and it works, as
> checked via the ftp)
>
> Any suggestions?
>
> --
> Albert

If you mean you used "public_html" literally, it is not right.
>From inside public_html, the command should be "ln -s . subdomain"
(the dot means "here"). If this is the case, delete the symlink and
create it again.

>
>
>
> El 02/05/2007, a las 13:36, Cog Rusty escribió:
>
> > On 5/2/07, Albert Cuesta <acuesta at gmail.com> wrote:
> >> 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)
> >> public_html/sites
> >> public_html/sites/subdomain.mydomain.com (settings.php for the new
> >> site)
> >> public_html/sites/subdomain.mydomain.com/files
> >> public_html/sites/subdomain.mydomain.com/modules
> >> public_html/sites/subdomain.mydomain.com/themes
> >>
> >> 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.
> >
> > In node/125539#comment-208916,
> > - Drupal was installed in "public_html/drupal5"
> > - subdomain.domain.com was set up to point to "public_html/
> > subdomain", and
> > - the symlinks were set up accordingly (ln -s ./drupal5 ./subdomain).
> >
> > In your case,
> > - Drupal seems to be in public_html.
> > - Where is subdomain.domain.com pointing, and
> > - what symlink did you use?
> >
> >>
> >> However, when I point my browser to subdomain.mydomain.com for
> >> installing, I only get a 500 Internal Server Error.
> >>
> >> Can somebody tell me what am I doing wrong?
> >>
> >> Thank you in advance
> >>
> >> ---------------------------------------------------------------------
> >> -
> >> Albert Cuesta
> >>
> >>
> >> --
> >> [ Drupal support list | http://lists.drupal.org/ ]
> >>
> > --
> > [ Drupal support list | http://lists.drupal.org/ ]
>
> --
> [ Drupal support list | http://lists.drupal.org/ ]
>


More information about the support mailing list