Hi all,
I've been running a Drupal 4.6.3 multi-site installation for a while now. Works fine, I have several sub-domains running off of it using symbolic links and separate databases.
This is what it currently looks like:
public_html/drupal
public_html/subdomain1
public_html/subdomain2
After having created a subdomain using cPanel, I delete the folder and create a symbolic link in its place, like this: "ln -s drupal subdomain". Ofcourse, I also create a new folder in /sites, like this: "sites/subdomain.domain.com/settings.php". Works like a charm.
However, until now, we needed only subdomains (subdomain.domain.com), because the main website (www.domain.com) was static html. Now, the time has come to migrate the main website to Drupal as well, which means we'll need to find a way to make www.domain.com go to the public_html/drupal installation, rather than to public_html itself.
And this is where I get stuck! Can I do this with symbolic links? If yes, what would that look like? And what about editing .htaccess files? I had to find the stuff above out the hard way and do not have enough knowledge to figure this one out, so I'd really appreciate your help...
Comments
my case
look, I dont know if it's possible for you but for my main site I simply have installed drupal on public_html without creating a /drupal folder (and I have 3 more subdomains the way you do)...
did that elsewhere, but...
I did that elsewhere, but it would be difficult for me to implement that for this domain.
If there's no other way I might have to, but what will happen to other sub-directories that have nothing to do with Drupal and should still exist and be accessible? I'm afraid I might not be able to access them anymore as everything will pass through the Drupal installation?
Or is there something you can do to counter that?
Other sub-directories should...
Other sub-directories should be fine. I have Drupal installed right on the root directory. The only sub-domains that are controlled by Drupal are the ones I point to Drupal install. All other sites work as normal.
The only barriers that exist are the ones we create!
Kevin