I'm using Drupal 6 on half a dozen sites so I'm not a nube, but I'm still learning.
I've read a lot about installations on multiple sites, but I've not found anything about my particular problem.

I've got a non Drupal mysite1.co.uk
Public access is via mysite1.co.uk and all the files for the site are found in mysite1.co.uk/public_html/
I want to keep that site non Drupal at present.

On that site I've got an add on site mysite2.co.uk
Public access is via the name mysite2.co.uk but all the files for this site are found at mysite1/public_html/mysite2.co.uk/public_html/
I want to put Drupal onto the add on site (mysite2) but not the original site (mysite1).

1. Can I just install Drupal into mysite1/public_html/mysite2.co.uk/public_html/
2. Will this work?
3. Will it work on mysite2 without affecting mysite1 ?

4. If the above will not work, how can I put Drupal onto the add on site without it affecting the original site?

Comments

-Anti-’s picture

> Public access is via mysite1.co.uk and all the files for the site are found at:
> mysite1.co.uk/public_html/

> Public access is via the name mysite2.co.uk but all the files for this site are found at:
> mysite1/public_html/mysite2.co.uk/public_html/

Huh? Did you do it that way for a reason?
That is really ugly, and completely wrong for a typical webhost set-up.
If your host is forcing you to do that, I'd get another host.

Is the part I highlighted really a folder on your webserver!? Because then the full path to your website is:
home/public_html/mysite1.co.uk/public_html which is a bit daft to the casual observer.

Usually the folder sturcture would look like this:

home/public_html/
home/public_html/site2

'site1' would usually be in the public_html (root) directory
'site2' is the folder created when you created the add-on domain.
Drupal would go into the site2 folder, and be accessed from http://domain2.com

Personally I would not proceed with the way you have set-it-up.
It might work initially, but you are asking for trouble IMO.
Unless it is a hosting thing, in which case I'd change my host.

Technonow’s picture

Sorry, I've not explained myself correctly.

You're right, the directory structure is
home/public_html/
home/public_html/site2

Are you saying I can install Drupal directly into the site2 folder and access it directly from http://domain2.com
without it affecting site1 ?

Thanks for your help.

Your way of describing my setup sure beats my long winded description (I'm hanging my head in shame).

Technonow’s picture

Thanks again for your help.

I've now done this and it works a treat.

Drupal is working fine on site2 without affecting site1.

Great!

-Anti-’s picture

Glad you got it working.
Sorry I wasn't around yesterday to help you further (day at the beach).