?
Solved

Hosting a website from router

Posted on 2003-03-06
14
Medium Priority
?
270 Views
Last Modified: 2010-03-19
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.
0
Comment
Question by:Leo Alexander
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 5
  • 3
  • +1
14 Comments
 
LVL 79

Expert Comment

by:lrmoore
ID: 8086161
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
0
 

Expert Comment

by:RMIce127
ID: 8086210
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.
0
 
LVL 3

Author Comment

by:Leo Alexander
ID: 8086300
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.
0
Four New Appliances. Same Industry-leading Speeds.

But don't take it from us.  The Firebox M370 is Miercom tested and Miercom approved, outperforming its competitors for stateless and stateful traffic throughput scenarios.  Learn more about the M370, M470, M570 and M670 and find the right solution for your organization today!

 
LVL 79

Expert Comment

by:lrmoore
ID: 8087771
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...
0
 
LVL 3

Author Comment

by:Leo Alexander
ID: 8092397
Great that makes alot more sence. I wish i could use the dns2go.. but the started to charge now... i used to use it :(
0
 

Expert Comment

by:RMIce127
ID: 8095230
Only costs 10 a year...

Not too bad
0
 

Expert Comment

by:RMIce127
ID: 8095279
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.
0
 
LVL 3

Author Comment

by:Leo Alexander
ID: 8095386
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
0
 
LVL 79

Expert Comment

by:lrmoore
ID: 8095512
Turn off http server on your router

router(config)# no ip http-server
0
 
LVL 3

Author Comment

by:Leo Alexander
ID: 8131960
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?
0
 
LVL 79

Accepted Solution

by:
lrmoore earned 300 total points
ID: 8133062
Just change the static nat line:

ip nat inside static tcp 192.168.0.7 80 interface fast 0/0 8080

From the outside world:

http://ipaddress:8080

From the inside lan:
http://192.168.0.7

0
 
LVL 3

Author Comment

by:Leo Alexander
ID: 8135846
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!
0
 

Expert Comment

by:CleanupPing
ID: 9153216
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.
0
 
LVL 79

Expert Comment

by:lrmoore
ID: 9162674
RECOMMENDATION: Points awarded to: lrmoore
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

WARNING:   If you follow the instructions here, you will wipe out your VTP and VLAN configurations.  Make sure you have backed up your switch!!! I recently had some issues with a few low-end Cisco routers (RV325) and I opened a case with Cisco TA…
This program is used to assist in finding and resolving common problems with wireless connections.
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Suggested Courses

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question