cancel
Showing results for 
Search instead for 
Did you mean: 

Home Web Site IP/Host Addresses

N/A

Home Web Site IP/Host Addresses

You can access a site by its host name or its IP address.

E.g. My webspace is:
http://www.sundream.plus.com/

My fixed IP address is http://80.229.6.128/
but this returns The page cannot be displayed.

You can use http://monitor.plus.net/tools.php to look up IP/Host.

What I want is to access a web server at home. I have enabled port 80 and routed it to a webserver.

Anybody know how to do this?
dave@sundream
5 REPLIES
Community Veteran
Posts: 14,469
Registered: 30-07-2007

Home Web Site IP/Host Addresses

Both http://sundream.plus.com and http://80.229.6.128/ point to your own IP address so terminate at your ADSL modem/router..

I suspect either the router/ADSL modem you are using has not been configured correctly i.e. your port forwarding is not what you think it is or is going to the wrong IP address.

Also are you sure your local webserver is listening on port 80?

It is also possible your modem/router is responding to port 80 connections (to access the setup pages). Try setting your routers config to use port 8080 instead of 80 (if it does not already) for external access or make sure config is disabled for remote access.
N/A

Home Web Site IP/Host Addresses

Thanks for the fast reply.
So is:

http://www.sundream.plus.com the website hosted at Plusnet (the free web space)

and

http://sundream.plus.com or htttp://80.229.6.128 the website hosted at my modem?


http://www.sundream.plus.com works fine.
http://sundream.plus.com doesn't.

I'll re-check the router settings.

Maybe you have to reset the modem after making the changes. It's a Netgear DG834G. I set one PC to a fixed IP 192.168.0.10 and set the router DHCP to omit this. I set the firewall inbound to forward HTTP (port 80) to 192.168.0.10 and then pressed Apply. I can see the website internally from another PC on the network using its server name http://server/index.htm
Community Veteran
Posts: 14,469
Registered: 30-07-2007

Home Web Site IP/Host Addresses

Quote
Thanks for the fast reply.
So is:

http://www.sundream.plus.com the website hosted at Plusnet (the free web space)

and

http://sundream.plus.com or htttp://80.229.6.128 the website hosted at my modem?


Yes. If you do a ping to the two URLs you will see they resolve to different IPs. The top one to PlusNets www webserver IP and the bottom to your IP.

Quote
Maybe you have to reset the modem after making the changes. It's a Netgear DG834G. I set one PC to a fixed IP 192.168.0.10 and set the router DHCP to omit this. I set the firewall inbound to forward HTTP (port 80) to 192.168.0.10 and then pressed Apply. I can see the website internally from another PC on the network using its server name http://server/index.htm


That all looks fine. You may need to check your SPI firewall rules in case you are blocking all incoming traffic, or some other setting is stopping the port forwarding working. I'm not sure which takes priority, the port forward rule or the firewall rules. Are you forwarding TCP & UDP for port 80?

Also check to see if the remote config option is enabled or not (it's not enabled by defaut I think) and maybe change it's port to something other than 80 if you can.
N/A

Home Web Site IP/Host Addresses

I've got it working now but I'd like to share the knowledge.

First I tried to ping the URL. I first enabled ping in the router. This worked so then I knew PlusNet was doing its job.

The clue was, when I set up a fixed IP for the Web Server I noticed that it could no longer browse the internet. So I looked into what DHCP was doing. This is what I found in the Router manual:

The router will deliver the following parameters to any LAN device that requests DHCP:
• An IP Address from the range you have defined
• Subnet Mask
• Gateway IP Address is the router’s LAN IP address
• Primary DNS Server, if you entered a Primary DNS address in the Basic Settings menu; otherwise, the router’s LAN IP address
• Secondary DNS Server, if you entered a Secondary DNS address in the Basic Settings menu
• WINS Server, short for Windows Internet Naming Service Server, determines the IP address associated with a particular Windows computer. A WINS server records and reports a list of names and IP address of Windows PCs on its local network. If you connect to a remote network that contains a WINS server, enter the server’s IP address here. This allows your PCs to browse the network using the Network Neighborhood feature of Windows.

So I switched the WebServer back to use DHCP but set the router to give this PC a fixed IP address. The same IP address that was being forwarded for HTTP(80).

Hey presto. That did the trick!

I then set up FTP(21). That worked too. Happy bunny.
Community Veteran
Posts: 14,469
Registered: 30-07-2007

Home Web Site IP/Host Addresses

I'm glad you got things sorted out and thanks for the additional info as well.