Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Hosting a website from router

Posted on 2003-03-06
14
Medium Priority
?
293 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
  • 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
Who's Defending Your Organization from Threats?

Protecting against advanced threats requires an IT dream team – a well-oiled machine of people and solutions working together to defend your organization. Download our resource kit today to learn more about the tools you need to build you IT Dream Team!

 
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

Evaluating UTMs? Here's what you need to know!

Evaluating a UTM appliance and vendor can prove to be an overwhelming exercise.  How can you make sure that you're getting the security that your organization needs without breaking the bank? Check out our UTM Buyer's Guide for more information on what you should be looking for!

Question has a verified solution.

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

Originally, this post was published on Monitis Blog, you can check it here . It goes without saying that technology has transformed society and the very nature of how we live, work, and communicate in ways that would’ve been incomprehensible 5 ye…
This program is used to assist in finding and resolving common problems with wireless connections.
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…

569 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