Hi all,

I am new at drupal, having migrated from mambo/joomla because of the multisite abilities.

I have installed my first installation on the main domain and setup my second domain's folder in sites. The configs are set. Now i'm stumped. I think i have read every post been linked to up to now...

I am using a plesk reloaded vps and have set up the second domain in plesk. What should i set the nameservers to for this second domain so it points to the main domain? And, should the nameservers for the second domain at godaddy be set to the second domains? Am i missing something big here??

Sorry if this has been asked a million times before, but this has me stumped and i can't find a definitive answer on the subject!

TIA

Comments

Bèr Kessels’s picture

I had to move to a host without plesk in ordder to be able to get a multisite running.
The internal structure of Plesks virtual hosting is not possible to combine in a clean way with drupals structure. Sorry!

---
Bèr Kessels
Professional www.webschuur.com
Personal bler.webschuur.com

murph’s picture

Thanks for the reply,

So what does work...cpanel?

laura s’s picture

CPanel makes for very easy Drupal management, imho.

Laura
===
pingVisionrare patternscattered sunshine

_____ ____ ___ __ _ _
Laura Scott :: design » blog » tweet

bryansd’s picture

I wouldn't mind finding a solution for Plesk too. The other poster may be right that multisite Drupal and Plesk don't go well, but I'm not willing to give up so easily. Hopefully, we'll hear more from others in this thread.

-Bryan

Drupal Blog at:
Like that Idea

ixis.dylan’s picture

Is my post on multi-site with symlinks any help? I have no idea how Plesk works, so forgive me if this is irrelevant.

demolicious | leafish

jruberto’s picture

I've successfully set up multi site on Plesk 7.1 like so...

- set up your vhost as normal in Plesk
- create a database & database user for the domain (still in plesk)
- run drupal database script & any module scripts

then,
- create a group called drupal (i.e. groupadd drupal)
- edit /etc/group and add apache (or whatever the www user is) to the drupal group
- create a drupal directory in the vhosts directory
- put drupal in the drupal directory :-)
- set the whole drupal directory tree to drupal group (chgrp -R drupal drupal/)

then in each site's vhost directory
- rename/remove httpdocs
- create a symlink to the drupal directory called httpdocs

and voila. If you wind up with permissions problems, make sure that the applicable read/write permissions are set for the group, and that the file/directory is set to the drupal group.

SimonVlc’s picture

Great,

I´m looking for this all the evening. Only one question.

If I remove the httpdocs dir, how can I access the new drupal dir through ftp to upload images, p.ex?

Thanks, Simon.

jruberto’s picture

you replace the ..../httpdocs/ with a symlink to your drupal directory, so you would get at the files directory one of two ways:

/vhosts/drupal/files
-or-
/vhosts/mydomain/httpdocs/files

either one gets you to the same place.

cheers,
j
===============
Jim Ruberto
The Geek Gene, LLC
jim@geekgene.com

SimonVlc’s picture

Thanks Jim,

I got it. Was my first time working with symlinks ;).

Bye!

SimonVlc’s picture

Hi,

I have a problem with the group setup. I´ll try to explain it with an example.

I have one site: example.org

It´s usr/grp are: example/psaserv

I added one group with: groupadd drupal

Edit the /etc/groups: drupal:x:12345:psaserv

After adding the grp, the drupal dir at vhosts have this usr/grp: root drupal drupaDir

But it gives me forbidden errors.

If I put the same usr/grp that the original dir it works fine, but then I can´t host several sites because every site has it own usr.

Any idea? Thanks in advance.

hendler’s picture

jonodunnett’s picture

Great information but pretty overwhelming for a novato like me!
I have a multisite installation working nicely on my local machine. Keeping it up to date is nice and easy.
On my live version I have the same multisite setup but only one active site. I am now ready to upload and expose the second site.

My webspace has a Plesk control panel though I don't really use that, and tend to use dreamweaver for FTPing things around. My site1 Drupal installation was NOT through the Plesk application. I have Plesk but don't use it. In this case is the information in this thread still relevant to me?

I was kind of hoping if I just copy the site2 files to the remote server, import the site2 database, and point the site2 domain to the same place as the domain for the existing site, then it will work. Am I being too hopeful!?

Thanks.

EDIT: it appears that I don't have Shell access in Plesk and there doesn't seem to be any way to enable it.