Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 04-08-2006, 03:47 PM   #1
Registered: Apr 2005
Location: Milan
Distribution: debian
Posts: 67

Rep: Reputation: 15
apache problems with virtualhost ...

Hi , I've installed a server web with apache and it works fine with my static IP ...

now I want to host 2 different site , and I 've configured apache but it doesn't work well ..

when I connect I can see the directory with 2 sites and not the different independent sites ...

this is th part of the configuration about virtualhost ..


DocumentRoot /www/mysite1


DocumentRoot /www/mysite2


The Ip is the same in the configuration for all host ...

this is the result ...

Why ???

where is the mistake ???
Old 04-09-2006, 07:01 AM   #2
Registered: Jun 2002
Location: Netherlands - Amsterdam
Distribution: RedHat 9
Posts: 549

Rep: Reputation: 30
did you check your logs?!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache -VirtualHost davidhk Debian 7 08-19-2005 01:33 PM
Virtualhost setup on apache 2 notmatt Debian 2 10-28-2004 02:05 PM
Help with Apache <VirtualHost> please. smakkythecamel Linux - Networking 2 06-12-2003 08:15 PM
Apache virtualhost problems, apache install problems nyroc Linux - Software 2 06-10-2003 12:16 AM
apache virtualhost jonfa Linux - Networking 5 08-12-2002 07:07 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:57 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration