Go Back  HTML Forums - Free Webmaster Forums and Help Forums > SERVER ADMINISTRATION > Unix Administration
User Name:
Password:
 

Reply
Thread Tools   Display Modes
  View First Unread
 
Old 12-11-2006, 11:55 AM
  #1
robbo38
Novice (Level 1)
 
Join Date: Dec 2006
Posts: 1
iTrader: (0)
robbo38 is an unknown quantity at this point
Apache Question, Host Headers and URLs

Hi - cant find the correct place for this so here goes!!!

Running Apache at home, added virtual hosts .. so far so good, and as far as I'm aware it relies on the host header to differentiate between the websites to serve.

Using my home network, I can get pages from ONE of the sites only, because I only use the ip address in the URL .. 192.168.xxx.xxx/testpage.html etc to get to it from another PC.

Same if I address it using the net , but I have dynamic IP address so I can for a while get to it using 81.xx.xxx.xx/testpage.html etc.

Without setting up a DNS etc, what can I do to test each virtual host is working correctly. I believe I need to get the browser to do a request to the IP address but also it must add the host header in the call.
So can I type the IP address with 'something' added to achieve this?

i.e. 81.xx.xx.xx ( site1 ) /testpage.html
and 81.xx.xx.xx ( site 2) /testpage.html

Can it be done this way? ( I assume using a DNS it will happen automatically )

Thanks
robbo38 is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote

Reply
KEEP TABS
SPONSORS
 
Boxedart
 
 


 
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
  
 
 
 



 
  POSTING RULES
 
 
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Thread Tools
Display Modes

Forum Jump

 

All times are GMT -5. The time now is 08:16 PM.

   

Mascot team created by Drawshop.com

Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.

Server Monitoring by ENIACmonitor 0.01
HTMLforums.com © Big Resources, Inc. Web Design by BoxedArt.com
vRewrite 1.5 beta SEOed URLs completed by Tech Help Forum and Chalo Na.