Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I use a wireless router to connect to a modem which connects the wall socket for DSL connection. I have several machines behind the router. The ISP provides me a static public IP. Now when I use the static public IP to visit, I always get to the modem's webpage rather than the router's webpage. Now I really want to use one machine as a website host. I try various ways including port forwarding on router, DMZ setting on router but the public IP still always points me to the modem rather than the router.

What I should do? Thank you very much.

share|improve this question

migrated from stackoverflow.com Sep 13 '10 at 14:51

This question came from our site for professional and enthusiast programmers.

    
It might be helpfull if you post the brand and model of your ROuter and modem, maybe one of us has the same –  sum1stolemyname Sep 13 '10 at 14:50
    

1 Answer 1

First, you will need to disable remote management on your router.

Next, you will need to install a webserver program which I will assume is already done.

Next, configure your webserver to work behind the router's Firewall this may entail disabling port 80 from the local firewall as well.

Finally, forward port 80 to the computer to host the website from within the router settings.

Note: The website will likely NOT work if you check it internally, depending on how your set up is.

Note2: Many ISPs block port 80.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.