Web Servers on Windows - internal recognition of www.domain.nl

This is Interesting: Free IT Magazines  
Home > Archive > Web Servers on Windows > October 2005 > internal recognition of www.domain.nl





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author internal recognition of www.domain.nl
Xwardox

2005-10-24, 10:30 am

I want to access my own website (self hosting)on my LAN with
www.mydomain.nl
I only can access it with the IP-adres of the webserver. When using
www.mydomain.nl I end up in my modem/router asking for my
userid/password.

Any ideas what I'm doing wrong.
I use Apache 2 and Win XP-pro

Xwardox

Kees Nuyt

2005-10-24, 10:30 am

On 15 Oct 2005 04:55:29 -0700, "Xwardox" <xwardox@xs4all.nl>
wrote:

> I want to access my own website (self hosting)on my
> LAN with www.mydomain.nl
> I only can access it with the IP-adres of the webserver.
> When using www.mydomain.nl I end up in my modem/router
> asking for my userid/password.


Switch off the webinterface of your modem/router.

>Any ideas what I'm doing wrong.
>I use Apache 2 and Win XP-pro


Or add www.mydomain.nl to the 127.0.0.1 line in your host file,
usually C:\WINDOWS\SYSTEM32\DRIVERS\etc\hosts

To access the server on its original WAN address (the IP address
www.mydomain.nl resolves to), you need either "NAT loopback" in
your router, or access it via an external http proxy server
outside your local network.

In both cases, and in order to access it from outside, you will
have to setup NAT for incoming traffic on port 80 in your
router.
Many of the question in this group are about that, you can find
more detailed explanations in Google groups.

>Xwardox


Hope this helps.
--
( Kees
)
c[_] The future isn't what it used to be. (#127)
Xwardox

2005-10-24, 10:30 am

Hi Kees
Thanks, sofar adding www.mydomain.nl to my host file works for the PC
with the webserver, but not for the other PC's. I probably have to add
it to the host files of the other PC's as well but then with the
IP-address of the webserver?

If I switch of the webinterface of my modem/router: How do I access it?

Groet X

Kees Nuyt wrote:
> On 15 Oct 2005 04:55:29 -0700, "Xwardox" <xwardox@xs4all.nl>
> wrote:
>
>
> Switch off the webinterface of your modem/router.
>
>
> Or add www.mydomain.nl to the 127.0.0.1 line in your host file,
> usually C:\WINDOWS\SYSTEM32\DRIVERS\etc\hosts
>
> To access the server on its original WAN address (the IP address
> www.mydomain.nl resolves to), you need either "NAT loopback" in
> your router, or access it via an external http proxy server
> outside your local network.
>
> In both cases, and in order to access it from outside, you will
> have to setup NAT for incoming traffic on port 80 in your
> router.
> Many of the question in this group are about that, you can find
> more detailed explanations in Google groups.
>
>
> Hope this helps.
> --
> ( Kees
> )
> c[_] The future isn't what it used to be. (#127)


Kees Nuyt

2005-10-24, 10:30 am

On 16 Oct 2005 02:52:23 -0700, "Xwardox" <xwardox@xs4all.nl>
wrote:

> Hi Kees
> Thanks, sofar adding www.mydomain.nl to my host file works for the PC
> with the webserver, but not for the other PC's. I probably have to add
> it to the host files of the other PC's as well but then with the
> IP-address of the webserver?


Exactly. The address on the LAN that is, so 10.x.x.x or
192.168.x.x

> If I switch of the webinterface of my modem/router:
> How do I access it?


I don't have the faintest idea. That info should be in the
configuration guide of the modem/router. If you can't find it,
or have problems using it, the support newsgroup of your ISP is
a better place to ask for help. Its news archives can be found
at: http://groups.google.com/groups?hl=nl&group=xs4all.adsl

There are a lot of knowledgeable people at xs4all, so the answer
probably is already there.

>Groet X


Good luck.
--
( Kees
)
c[_] Everyone is gifted. Some open the package sooner. (#109)
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com