Women in Technology

Hear us Roar



Article:
  Apache Web-Serving with Mac OS X: Part 1
Subject:   IP address using ADSL Router/Modem
Date:   2003-04-01 16:14:46
From:   douglasgb
Response to: IP address using ADSL Router/Modem

You've got your internet connection (cable or DSL) letting info into and out of your house. First stop is the router, which in most cases also acts as a firewall separating the inside house network from the outside rest of the world. But this barrier must be semi-permiable in order to let your internet traffic in and out of the house (so you can get your email and buy Futurama from Amazon.com). The router can do this because it has a public side (the IP you get from your ISP - maybe fixed or maybe dynamic depending on your service) as well as a private side (your machines) and it routes traffic between these two sides. When you request a site the router knows your machine's local IP and takes your request and sends it out to the world at large, but after substituting its public IP address. When the answer comes back the router forwards the reply on to your machine.


If you want to host a website you need to configure your router to route requests coming from outside to go to one of your inside machines, which (when running as a web server) will reply and send the info back out; the reverse of the process above. You need to do two things first: set up the web serving machine with a static IP address and configure the router to forward packets to that machine. Go to the IP forwarding section of your router's configuration setup and set it to allow traffic on port 80 (that's the number for http traffic) to pass through and go to your machine's local IP address. And set the local machine to have a static address so it doesn't change and have the router routing http traffic to a vacant IP address.

Full Threads Newest First

Showing messages 1 through 6 of 6.

  • IP address using ADSL Router/Modem
    2003-11-21 07:04:25  anonymous2 [View]

    I've got all this working, and access to my webserver from outside is easy (i have a domain).
    the problem comes when i want to access the site(s) / domain(s) from whithin my network.
    DNS points to the external ip address, and i can't seem to get to the sites i need.
    • IP address using ADSL Router/Modem
      2003-12-07 04:42:45  anonymous2 [View]

      I have the same problem: When I type www.mydomain.com in my browser it points to the external IP of my network, and i get connected to the router web interface, but if I do this from outside my network it works right
      • IP address using ADSL Router/Modem
        2003-12-25 14:07:42  anonymous2 [View]

        try to configure ur computer to be its own DNS
        and make sure that pointer in ur DNS records point to it

        i hope that will help you for NOW
        if not conatct me
        • IP address using ADSL Router/Modem
          2004-02-10 01:47:29  vc [View]

          me got the same problem...how to solve the problem?is it must configure our own dns??
      • IP address using ADSL Router/Modem
        2003-12-25 14:10:19  jaseer [View]

        try to configure ur computer to be its own DNS
        and make sure that pointer in ur DNS records point to it

        i hope that will help you for NOW
        if not conatct me
        • IP address using ADSL Router/Modem
          2004-01-07 11:56:00  scotdwg [View]

          I'm having the same problem. I have a web server set up behind a router with a web interface. I have set up a static internal IP address and set it as the DMZ host, but traffic to port 80 is still directed to the router's web interface. Does anyone know how to get around this?