New Zealand ADSL Mailing List


Re: Problems with Nokia M11 and Web Server software

From: Dan Langille <dan_at_langille.org>
Date: Wed, 13 Dec 2000 23:34:21 +1300
Message-Id: <200012131034.XAA08641@ducky.nz.freebsd.org>

On 13 Dec 2000, at 23:27, Webmaster wrote:

> Is there a way to get the ADSL unit to allow this work?? It has been
> stumping me for weeks!!

You don't mention what your operating system is, so I'll assume Unix.
I'll leave it to the others to fill in the gaps for any other OS.

The problem is routing. You can't access your own website by the
public IP address. You have to use the private IP address. Let's
assumed your webserver is at 192.168.1.1.

Add the following to /etc/hosts

192.168.1.1 example.org
192.168.1.1 support.example.org

Now your box should be able to access itself. What the above does is
give it an IP address to associate with a name. See man hosts for
more info.

Let us know if that works.

--
Dan Langille
The FreeBSD Diary - http://www.freebsddiary.org/
          NZ ADSL - http://www.unixathome.org/adsl/
     NZ Broadband - http://www.unixathome.org/broadband/
This message is part of the NZ ADSL mailing list.
see http://unixathome.org/adsl/ for archives, FAQ,
and various documents.
To unsubscribe: send mail to majordomo@unixathome.org
with "unsubscribe adsl" in the body of the message
Received on Wed Dec 13 23:34:48 2000

This archive was generated by hypermail 2.2.0 : Thu Nov 30 11:48:07 2006 EST