Ok I know that questions about multisite installations have been asked many times before, but what I've seen has'ne been able to sole a problem I'm having.

I am installing many sites using multisite install. I'm actually installing on a subdomain of a subdomain, so http://sub2.sub1.mysite.com is the main installation. I have been able to set up multisite subdomains by creating an apache vhost, so I have a drupal site at http://sub3.sub1.mysite.com up and running with the settings.php for that site in the folder sub3.sub1.mysite.com in the sites directory.

OK, but I also want to set up a site at http://sub2.sub1.mysite.com/site2. I have a folder sub2.sub1.mysite.com.site2 in the sites directory, but whenever I go to http://sub2.sub1.mysite.com/site2 in my browser, it takes me to a "Page Not Found" for the main site http://sub2.sub1.mysite.com. Do I need to set up an apache vhost for http://sub2.sub1.mysite.com/site2? I tried that but it hasn't worked. Is this set up even possible or do all multisite sites need to be on subdomains?

Thanks for any help

Sean

Comments

ipwa’s picture

I'm not sure if this could help as I am relatively new to drupal, and don't know much about apache vhost.

Anyways, maybe try the symink with php: http://drupal.org/node/125539

Nicolas
-------------------------

newms’s picture

I don't know if symlinks will help with what I want to do, but I'll look into it.
newms

newms’s picture

This worked! Thanks! I got it to work by adding a symbolic link to site2 in the drupal install directory.

newms

ipwa’s picture

No worries man, glad I could help out.

Nicolas
-------------------------