Problem with virtual server

5 posts / 0 new
Last post
#1 Wed, 07/01/2009 - 13:48
meteoquimper

Problem with virtual server

HI I created 2 virtual server, domain-1.com and domain-2.com , they have ther own directory on /home, when i try to reach one of this domains they only show that was in /var/www/html Can you help me ? Thanks

Wed, 07/01/2009 - 14:01
ronald
ronald's picture

you may want to first look in http://www.virtualmin.com/documentation/web/troubleshooting and see if that document can solve your problem

Fri, 07/10/2009 - 14:04
meteoquimper

The document don't help, i try with debian 4, debian 5, centos a,s every time the same problemes all of my virtual server display the files that are on /var/www/html, i think it's a probleme with suexec but i don't know how to solve it...

Fri, 07/10/2009 - 19:47 (Reply to #3)
andreychek

Howdy,

I suspect your issue may be related to something in here:

http://www.virtualmin.com/documentation/web/troubleshooting#the_wrong_si...

My guess is that the default VirtualHost that is setup on your server has a * in the VirtualHost definition, rather than an IP address. The above document describes this, but basically, you may need to change:

To:

In your Apache config.

-Eric

Fri, 07/10/2009 - 16:36
ronald
ronald's picture

on a clean minimum install of the OS, make sure you let virtualmin install Apache, that will make SUexec work the correct way. So exclude Apache when installing the OS (I suggest using Centos although the other distros are good too)

Topic locked