PDA

View Full Version : apache2 virtual host override


saarg
08-27-2006, 01:08 AM
hello,

I have installed a new server. I have installed apache2 (as explained in the how-to forum, using the build script of DA).

On first sight, everything looks OK, when I use the server IP via http, I am getting the apache 2 test page as it should be.

However, when I'm creating the first domain on the server, the IP documentroot is being override and when I use the IP again via http, it points to the documentroot of the newly created domain.

All new domains that I open afterwards are also pointing to the document root of the first domain so I cannot add new domains pointing to their own document root.

Any help will be appreciated,

Saar.

saarg
08-27-2006, 04:25 AM
Find the problem...

the NameVirtualHost directive should be defined with a specific IP and not as *