LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 04-08-2006, 03:47 PM   #1
mediolanum
Member
 
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 ..
-------------

NameVirtualHost 87.abc.def.ghi:80

<VirtualHost 87.abc.def.ghi:80>
ServerName www.mysite1.com
DocumentRoot /www/mysite1

</VirtualHost>

<VirtualHost 87.abc.def.ghi:80>
ServerName www.mysite2.com
DocumentRoot /www/mysite2

</VirtualHost>
---------------------

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

this is the result ...
http://www.robyweb.selfip.com

Why ???

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

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


Reply


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


All times are GMT -5. The time now is 01:43 PM.

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