I have apache2 installed and have subscribed to no-ip (similar to dyndns) to get a static IP. When I enter the IP they have provided,it takes me to the DSL router page of my ISP as it should. My question is how do I redirect it to my var/www folder so that my PC in converted to a web server. Thanks!
Tell me more
×
Super User is a question and answer site for
computer enthusiasts and power users. It's 100% free, no registration required.
|
|
You should configure NAT on your router and forward port 80 (and/or 443) to the 'internal' IP. How depends on your router. On a side note I would disallow access to your router configuration by external IP addresses (i.e., you router configuration page should not be visible from the outside) |
|||||||||||||||||
|
|
I am assuming your apache setup is working. Now you need to forward port 80/443 from your dsl router to you system's internal ip address. So when router received request on port 80/443 it will forward it to your server. Read documentation of you router on how to do port forwarding. |
|||
|
|