MultiSite on Mediatemple

Hello,
I have been trying to configure a drupal multisite on Mediatemples GridService. I've followed and read every doc I could find on the subject, and still no success.

I've done a basic drupal install. Then added a second site into the sites directory. I then tried to sym link this second domain to the drupal install using this in ssh:
ln -s ~/home/12345/domains/dev.example.com/html/sites/domain2.com html

It seems I am creating the sym link ok, because in FTP, it redirects me correctly. But everytime I go to the domain2.com url, it just says Page Not Found. I've also tried domain2.com/install.php

If anyone has had any experience successfully setting up a multisite on MediaTemple, or similar shared host, it would be great if there is any tips or advice you could share.

Thanks
Rob

Groups:
Login to post comments

I don't think you want to

Garrett Albright - Wed, 2009-04-01 15:33

I don't think you want to symlink in this case. Just have your domain2.com directory inside of your sites directory, and make sure domain2.com is pointing towards your hosting account. That should do it.


I would agree with Garrett

ggevalt's picture
ggevalt - Tue, 2009-04-07 12:58

We are running multi site just fine with Media Temple...

In main installation, house your new site in a folder in the "sites" directory of your main site. Some points to keep in mind:

  • name the folder the full url of the new site, as in newsite.yourdomain.com
  • create a separate database for the new site
  • In folder put a files folder and the settings.php file adjusted to reflect the name and user/password of the new database.
  • Make sure you have write access to the various folders within files ... images, tmp, pictures.... You can do that in plesk by going to file manager
  • Make sure you've adjusted file system, file uploading etc in your admin panel of your new site.

    hope that helps

    geoff gevalt
    youngwritersproject.org


  • Multisite on MediaTemple DV? Only if you don't need SSL.

    pmckibben's picture
    pmckibben - Tue, 2009-04-07 14:15

    I have a client that has a dedicated virtual server (they call it "DV") on MediaTemple. This is different from their grid service (GS), so I don't know how applicable this is to your situation, but I want to make sure others who use MediaTemple know the limitations.

    I found that I could only make multisite work WITHOUT SSL. The only way I could make multisite work was to create a domain alias in Plesk for the existing Drupal domain.

    After much back and forth with Media Temple support, it seems to me that Media Temple cannot support SSL on Drupal Multisite, at least not with a set of completely different domains (i.e. they are not all subdomains). The reasons:

    • Each SSL domain must have a unique IP address (SSL requirement... should not be a problem).
    • MediaTemple requires that each SSL domain must be set up as its own "domain" in Plesk, and not a "domain alias". This means the domain must have its own httpdocs directory.
    • MediaTemple does not support symbolic linking across domains, so there's no way to link the new httpdocs directory to the existing Drupal installation.

    I have not tried to set up multisite with SSL elsewhere, but isn't it possible to point multiple vhost configurations to the same physical directory? Has anyone succeeded, and is it as simple as I think it should be?


    a bit confused....

    ggevalt's picture
    ggevalt - Tue, 2009-04-07 18:00

    I confess to being a bit confused. And perhaps I should gracefully bow out, because clearly you're talking about some things I'm totally not familiar with.

    I have a DV account with Media Temple. We are running multi-sites using a single domain name as the holder of the code base. We add sites by creating a subdomain through the simple step of inserting a folder with the appropriate url name into the sites folder; in that subdomain folder we put a files directory and an edited settings.php file; and we create a new database that corresponds to edited settings.php file and correct user and password. And we're done, aside from setting up configurations, theming, module selection, etc based on the needs/use of the new site.

    We've had no trouble with it. Works great.

    I really don't understand your discussion of SSL. You are talking about uses that are way beyond my experience. We operate full Drupal "public" sites and, as I said, these work just fine.

    ggevalt
    www.youngwritersproject.org


    sorry...

    ggevalt's picture
    ggevalt - Tue, 2009-04-07 18:02

    ...this had been a double post that I couldn't delete.
    cheers and good luck.
    gg


    I actually just set up a

    aaronp - Fri, 2009-04-24 00:06

    I actually just set up a multisite install on the Media Temple GS service today, each site with a different database. (And to confirm for everyone else, the Grid Service uses Media Temple's custom control panel, rather than Plesk which most of their other products use). Essentially I followed the directions here: http://www.markparrott.com/blog/multisite-drupal-hosting-mediatemple

    The operative part is this. When in the domains directory:

    ln -s domainnamethatismultisite.com domainforthemultisite.com

    The first domain is the multisite the second is the one you want to point at the multisite.

    Based on your initial question, I think that would be

    ln -s domain2.com dev.example.com

    You may need to wait a few minutes and reload a few times for it to initially work. After that, it should be smooth sailing when you visit domain2.com