PDA

View Full Version : Testing a site on ur static IP


MickBLang
13-12-2003, 01:01 AM
I have a Netcomm 1300 ADSL modem with an inbuilt router...

My problem is when I attempt to browse to my static IP or a URL which resolves to that IP I get the login to access the Netcomm modem and not the site I'm hosting. So I can't actually test or see any sites hosted on my static IP.

I'd like to only see the netcomm login when I enter it's local address e.g 192.168.x.x

And for the modem to route calls to my web server when a URL resolves to my static IP e.g 218.214.x.x

Is this possible if so could you suggest how I can get this done ?

Thanks in advance

Michael

mbottrell
13-12-2003, 01:09 AM
You'll need to setup port forwarding to the webserver.

ie: If the webserver is sitting at say 192.168.1.3 -- you'll need to forward all incoming port 80 requests to this host... this will avoid the 'login as well'. :)

Hope that makes sense.

Cheers,

Matt.

PS: I'm not familar with your modem brand. Refer to the appropriate forum group or the manual for instructions on setting it up.

MickBLang
13-12-2003, 11:06 PM
I do have port forwarding set...

It only seems to forward requests from outside the LAN though....

pulposus
17-12-2003, 11:43 AM
If you want to have it work inside the lan, configure the relevant domain names on your modem so that hosts inside your network get the 192.168.x.x address for your webserver, not your public IP address.

MickBLang
18-12-2003, 12:37 PM
I kinda ended up doing that....
I've set my primary DNS to my server and secondary to the modem, then entered DNS settings on the server to route my domain to that machine.

This works fine...

Thanks...

Michael