any get milti-site working on godaddy virtual dedicated server?

webdev2 - July 11, 2008 - 15:20

I have the base code install working fine. But godaddy virtual dedicated servers handle their apache.conf file differently. They put all vhosts in a different file and include it in the apache conf file. I have the base code like this;

NameVirtualHost 208.109.XX.XXX:80

ServerAdmin "webmaster@example.com"
ServerName example.com
ServerAlias www.example.com
MIMEMagicFile /dev/null
CustomLog logs/example.com_access_log "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\""
ErrorLog logs/example.com_error_log

DocumentRoot "/home/example11u/public_html"

Options +Indexes +FollowSymLinks
Order allow,deny
Allow from all
AllowOverride All

Alias /usage "/home/example11u/public_html/usage"

Order allow,deny
Allow from all

I tried to add a new virtual host, example2.com like this:

ServerName example2.com
ServerAlias www.example2.com
DocumentRoot "/home/example11u/public_html"

I have

/home/example11u/public_html/sites/example2.com
/home/example11u/public_html/sites/example2.com/settings.php (already pointing to empty database for this site)
/home/example11u/public_html/sites/example2.com/files

The error?

I get an blank page when I click on www.example2.com or www.example2.com/install.php.

I also have the name servers set up for this domain.

Any ideas are MUCH appreciated!!!

getting new error /install.php not found

webdev2 - July 11, 2008 - 17:43

I am getting a new error, it automatically goes to /install.php and says PAGE NOT FOUND.

You shoud put each domain in

nguyendhex - July 11, 2008 - 17:44

You shoud put each domain in

ServerName example.com
ServerAlias www.example.com
DocumentRoot "/home/example1/public_html"

ServerName example2.com
ServerAlias www.example2.com
DocumentRoot "/home/example2/public_html"

----------------------------------
http://learnvietnam.com/ Bring Vietnam to the World
http://drupalab.com/ Drupal themes, Drupal template

if you put each in a

webdev2 - July 11, 2008 - 19:56

if you put each in a different location , then there's no multisite install using on code base. Thanks though

yes, it is ok when you use

nguyendhex - July 12, 2008 - 15:48

yes, it is ok when you use symlink. I am running 5 sites by that method.
----------------------------------
http://learnvietnam.com/ Bring Vietnam to the World
http://drupalab.com/ Drupal themes, Drupal template

I'd love to see an example

webdev2 - July 12, 2008 - 16:02

I'd love to see an example of your file structure and apache conf file vhosts

after 3 days, I finally got

webdev2 - July 12, 2008 - 00:18

after 3 days, I finally got it working on godaddy VDS

Can you give details

korda - July 3, 2009 - 19:15

I am struggling with the same issues with GoDaddy. I am a bit frustrated after wading through setup of Drupal on Virtual Dedicated Windows Godaddy last week. No onto the Linux server and I am hungup on symlinks I think. I want a setup that shared the database between the sites, just different themes. Was thinking of using domain access module to control which ubercart products display on which domain. I am stuck on running the install script for the second and third sites. Obviously my symlinks are screwy because the install script doesnt show for site2 or site3.

any help would be great!

thanks!

 
 

Drupal is a registered trademark of Dries Buytaert.