Hi all,
we recently moved from MediaTemple's Shared server to a grid server. I had a couple of Drupal 5.x sites installed, using Drupal's multisite functionality. Unfortunately they aren't working any longer.
The grid server adds another layer of folders to the folder structure.
Meaning: instead of simply having a folder for domain.org, all files public files for that domain are stored in domain.org/html. The problem is, I don't know where to put my symlinks to. I tried all the three option I could imagine...
symlink sub.domain.org to domain.org
symlink sub.domain.org/html (html being the symlink) to domain.org
and symlink sub.domain.org to domain.org/html
and none of them work
Any ideas or hints what I could try to make this work? I very much appreciate your help or pointers where I could look for a solution!
Thanks,
Chris
By challer on
Comments
I'm not sure exactly how
I'm not sure exactly how you're trying to do this, but I have a multisite setup on a Grid Server. I have my drupal directory set up inside the domains directory and then inside the domain.org/html directory symlinks to what's inside the drupal directory.
Glad to hear there's a way,
Glad to hear there's a way, unfortunately I didn't quite understand how you set it up. On the gridserver, my main Drupal installation is under domains/www.domain1.org/html/ , with all the Drupal files and folders in it.
Then I have some sub and some separate domains for other sites in the multisite installation. So where would I put the symlinks for these, considering I have to have a domains/www.domain2.org folder or symlink in order for the server to recognize it (am I wrong here?).
Did you create symlinks for every folder, meaning domains/www.domain2.org/sites, domains/www.domain2.org/modules, with sites, modules, etc. being symlinks?
Sorry for the confusion and thanks for your help,
Chris
Your description of the
Your description of the folder hierarchy is a little bit unclear, so I'll make some examples up and it should apply the same to your setup. If I'm understanding correctly, you have a Drupal install in '~/domains/domain1.com/html/'. Underneath that html directory, you have a 'sites' folder. If inside of '~/domains/domain1.com/html/sites/' you then have each of your multisite domains (for example: ~/domains/domain1.com/html/sites/domain2.com/ ) then the command to symlink it to work properly on the grid would be something like this:
(Make sure to replace '1234' with your site number)
Again, I don't have a completely clear picture of how this multisite function lays out your folders, but I hope that puts you going in the right direction. If you still need help, update this thread with the exact paths to where things are on the server and I'll try to draw a better picture for you.
Good luck!
Arman Z. - (mt) Media Temple, Inc. - http://www.mediatemple.net/
What about subdomain example
Hi
I have a domain on the Grid Server @ Media Temple. The present working directory is:
/home/XXXXXX/users/.home/domains/mywebsite.comThe Drupal main/first install is in:
/home/120361/users/.home/domains/mywebsite.com/html/I have added 3 subdomains via the "add new domain or service" and I can see them under:
/home/XXXXXX/users/.home/domains/the subdomains are the following
I created these folders under main Drupal site as follow:
Based on this scenario, could please post instructions on how to do it in this case.
Thank you.
Youssef
subdomains on the Grid
Did anyone get sub-domains to work on the Grid Server?
Thanks
multisite on the gridserver
I'm working on this as well, and got these tips from bennbobw:
It's still escaping me a bit, so i'd like to confirm the following:
1. Your drupal folder is in the 'domains' folder and not accessible to the interweb
2. The symlink should be to the whole Drupal directory rather than drupal/sites/www.domain.com
3. What base directory would the htaccess be setup in? The Drupal directory? Or in the domain.com/html folder? Following tips I've found online, I've been deleting the html folder and replacing it with a symlink.
Thanks!
Arp
Arp Laszlo
bricksandclicks.marketing
design / theming / development / consulting
on my way...
OK - a little bit of clear thinking makes me realize that I need to link to the whole Drupal folder. How would the site find all the files it needs otherwise?
The first seems to have installed properly. I then created a folder for the next domain (sites/www.domain2.com), took the default settings.php, copied it to sites/domain2.com and edited it as needed. When I go the domain2.com, I get the Drupal welcome page, without the option to create the first account. I should be getting a Drupal Configuration page, no?
Arp Laszlo
bricksandclicks.marketing
design / theming / development / consulting
htaccess for site #2
ok - i'm pretty sure the problem is my redirect rule. I'm trying to follow
I tried it and changed the name of the folder from /drupal/ to /myfolder/. The symlink is obviously working, so this must be the last thing to get the 2nd site going. Any help would appreciated, and thanks for the help so far.
Arp
Arp Laszlo
bricksandclicks.marketing
design / theming / development / consulting
mediatemple multisite
here is what i did in the ~/domains folder
ln -s domainwithmultisitesfolders.com domainiwanttopointtomultisitesfolders.com
to remove it did this
unlink domainipointedtomultisitesfolders.com
in ftp you will see the symlink name in the ~/domains folder so put that in the unlink line if unsure.
thats it. oh - I also deleted the folder that (mt) auto created when I added the domain name in the control panel. And i linked both the www and nonwww using symlinks (ln -s domainwithmultisitesfolders.com www.domainiwanttopointtomultisitesfolders.com). And I set it up in the drupal .htaccess file of the multisite domain so that www and nonwww were handled (see your .htaccess drupal defaut file for this)
subscribing
subscribing
http://SocialNicheGuru.com
Delivering inSITE(TM), we empower you to deliver the right product and the right message to the right NICHE at the right time across all product, marketing, and sales channels.