Share your knowledge at the LQ Wiki.
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 01-10-2004, 10:24 AM   #1
Registered: Feb 2002
Posts: 586

Rep: Reputation: 30
Access Virtual host by IP

If a server has 2 domains that are hosted on the server. How can access each website by IP not by URL. Let's say that IP: and website1: and website2:

if i type a can access default website but how to access website2.
Old 01-10-2004, 10:32 AM   #2
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
You can't - there is no way for apache to tell the difference - if no host is given it uses the first one in the virtual host list.
Old 01-10-2004, 11:25 AM   #3
Registered: Feb 2002
Posts: 586

Original Poster
Rep: Reputation: 30
Got it .. Thanks


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
Virtual Host abridge Linux - Software 1 04-13-2005 08:35 AM
Apache, virtual host, access problem ivanatora Linux - Software 2 04-05-2005 05:39 AM
MD9.1 - Apache 2.0 - Can't access a virtual host Kronos3 Linux - Networking 1 10-13-2003 01:25 AM
Virtual Host |Drakehash| Linux - Networking 0 07-17-2003 04:02 PM
VIrtual host thep Linux - General 10 08-06-2002 12:28 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:09 AM.

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