Link to home
Start Free TrialLog in
Avatar of Leo Alexander
Leo AlexanderFlag for United States of America

asked on

Hosting a website from router

Hi,

I was wondering how i could host a webpage from my computer.

The computer that would be hosting the site is running Windows 2000 Advanced Server.

I am also using a Cisco 2611 Router.

Thanks for your time.
Avatar of Les Moore
Les Moore
Flag of United States of America image

Since you're getting a DHCP address from your ISP (previous Q), you'll have to find out what that address is, via sho interface.

You can port forward port 80:

ip nat inside source static tcp 192.168.100.5 80 interface Eth 0/0 80 extendable
Avatar of RMIce127
RMIce127

Setup the windows 2000 advanced server so that you can access it from you local network with a web browser to make sure it is working properly.

Then find out how to setup "port forwarding" or "virtual settings" or something to that affect on your router. Have it forward port 80 to the ip address of the windows 2000 machine. In this way when a request comes from the internet ip, the router will forward it to the windows 2000 box.

Then you can apply for a dynamic dns service such as http://www.dns2go.com so that you can have a domain name pointing to your computers. Or if you have a static ip you can just get a domain name.
Avatar of Leo Alexander

ASKER

lrmoore can you be more specific... i know you know what you're doing so I want to know more. Where would i put that command.. in the interface.. or config?

say my IP was 1.2.3.4 how would that be applied.

sorry for the step by step i hate asking these type of questions without first experimenting on my own, but this is a bit different for me than what i am used to.

Thanks again.
It's a global command
router(config)#ip nat inside source static tcp 192.168.100.5 80 interface Eth 0/0 80 extendable

If your external address is 1.2.3.4

Now someone from the outside should be able to http://1.2.3.4

and get your web page
If that works, then you can use RMice127's hint about using a dynamic DNS service to change that to http://smarturtle.dyn-dns.org or something like that...
Great that makes alot more sence. I wish i could use the dns2go.. but the started to charge now... i used to use it :(
Only costs 10 a year...

Not too bad
Or not... seems it was 9.95 for the first year for current members... and then it will goto 19.95 a year...

Sheesh that is more than my domain name costs.
Ok i put that command.. it wouldnt read that last part (extendable) so i put the command in without it. Now when i go to the http://myip it bring up a username and password box to get into my router. I put in a password that i used to configure the router and it brings me to a GUI version of the configuration!

Is this because the website might be setup wrong on the machine, or is it because i set it up wrong on the router?

Btw here is the IP im not worried about getting hacked ;)

68.109.16.31
Turn off http server on your router

router(config)# no ip http-server
I found out my ISP is blocking port 80! So now i need to know how to make the router forward requests to port 80, to a different port.. say port 81?
ASKER CERTIFIED SOLUTION
Avatar of Les Moore
Les Moore
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Ok I'm reinstalling the OS on the server to make sure its flawless. I'm at school now and i let it install, its a 450MHZ but its a quick lil' bugga :)

I'll let you know how things turn out... If this works I'm just gonna give you all my points for all the help you have given me!
smarturtle:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
RECOMMENDATION: Points awarded to: lrmoore