Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Accessing name-based virtual server pages on the LAN

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  ftp Config ( i know this is an apache forum, but ..  
Author Message
danmasi

External


Since: Jul 07, 2003
Posts: 1



(Msg. 1) Posted: Mon Jul 07, 2003 12:54 pm
Post subject: Accessing name-based virtual server pages on the LAN
Archived from groups: alt>apache>configuration, others (more info?)

OK, this isn't really a config question. Go easy, I'm new here!

I have a couple of name-based virtual servers set up, Apache 2.0 on
Red Hat 8.0. The Linux machine sits behind a DSL router, along with
a WinXP machine. I've got dynamic ip set up. Everything works great
from the internet; someone looking for www.foo.com gets sent to my
IP address, the router forwards port 80 requests to my Linux box,
Apache sees the name and gets the correct page.

Question is, if I'm sitting at my WinXP box, how can I get www.foo.com?
Right now, if I try to do so, I get the login page for my DSL router
administration, since the request is coming from the LAN. What's
the easiest way to make this work right?

Thanks,

-dan

 >> Stay informed about: Accessing name-based virtual server pages on the LAN 
Back to top
Login to vote
nyhedsgruppe

External


Since: Jul 05, 2003
Posts: 3



(Msg. 2) Posted: Mon Jul 07, 2003 10:21 pm
Post subject: Re: Accessing name-based virtual server pages on the LAN [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Dan Masi" <danmasi RemoveThis @earthlink.net> wrote in message
news:7ec4126e.0307070854.2473641d@posting.google.com...
 > OK, this isn't really a config question. Go easy, I'm new here!
 >
 > I have a couple of name-based virtual servers set up, Apache 2.0 on
 > Red Hat 8.0. The Linux machine sits behind a DSL router, along with
 > a WinXP machine. I've got dynamic ip set up. Everything works great
 > from the internet; someone looking for <a style='text-decoration: underline;' href="http://www.foo.com" target="_blank">www.foo.com</a> gets sent to my
 > IP address, the router forwards port 80 requests to my Linux box,
 > Apache sees the name and gets the correct page.
 >
<font color=purple> > Question is, if I'm sitting at my WinXP box, how can I get <a style='text-decoration: underline;' href="http://www.foo.com?</font" target="_blank">www.foo.com?</font</a>>
 > Right now, if I try to do so, I get the login page for my DSL router
 > administration, since the request is coming from the LAN. What's
 > the easiest way to make this work right?


There are several solutions:

1 - Edit /windows/system32/drivers/etc/hosts and add the following:
192.168.1.33 <a style='text-decoration: underline;' href="http://www.domain.com" target="_blank">www.domain.com</a> domain.com
Substitute for your parameters

2 - Enable proxy-server in Internet Explorer

3 - Use local IP in browser along with tilde username (If enabled in
httpd.conf), e.g. 192.168.1.33/~USERNAME

4 - Set up your own DNS-server locally

Number1 is the preferred method as both IE and your FTP-client will be
redirected correctly.

Regards,
Jimmy<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Accessing name-based virtual server pages on the LAN 
Back to top
Login to vote
user2363

External


Since: Jul 08, 2003
Posts: 1



(Msg. 3) Posted: Tue Jul 08, 2003 7:44 am
Post subject: Re: Accessing name-based virtual server pages on the LAN [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In article <7ec4126e.0307070854.2473641d.RemoveThis@posting.google.com>, Dan Masi wrote:
 > OK, this isn't really a config question. Go easy, I'm new here!

N.P.

In WinXP, set the out-of-your-LAN DNS. Your ISP has some DNS, so hook it
up on it, not the LAN DNS.

--
Wink<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Accessing name-based virtual server pages on the LAN 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Default/Virtual server ? - I am new to apache 2.0.40 running on Linux and although I have it working I am unsure what is the best way configure 2 IP based hosts. Example configurations: 1. One IP as default server, one as virtual or 2. One IP as virtual, 2nd IP as virtual, wit...

virtual directories - What I'd like to do is have: {my site url} | | Folder A Folder B Where "Folder A" is "C:/Folder A", but Folder B is in C:/docs+settings/.../Folder B. Do I have to muck around in virtual hosts? How would the...

Virtual Hosts? - I'm wanting to use one IP address to host multiple domains, ie web hosting. I assume that "virtual hosts" are the thin I need to focus on here and is this basically a similar concept to Host Headers in IIS 5.0? I'm running Windows 2000 with Apa...

my Virtual host is Virtual Toast - hi everyone ! Well after trying a few different configurations of the following lines of code I am still finding that I can only get the sites to go to the htdocs dir and not the subdirectories ... I keep on trying different things i read in..

local virtual hosts - i've read many posts about this subject, but none have been exactly what i'm looking for. I have Apache 2.0.46 running Redhat 9. This PC along with 3 others are on a Dl-614+ router. I want to use the redhat machine as a development server for several....
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]