Apache Web-Serving with Mac OS X: Part 1
Subject:   I'm not sure ....
Date:   2005-07-07 04:41:25
From:   PHP_lovers
Ok -- I'm not sure if anyone is still reading this or not, but it's worth a shot.

I'm having some really strange things happening. I'm trying to get a simple server up and running using Jaguar. I've followed all of the instructions and understand most of it.

Problem #1
I have configured my router to pass requests to port 80 to a specified IP address. In my case, I'm using **.**.**.25 -- where the first three fields are the first three digits in the routers IP address (Using a simple Belkin router, I'm unable to change these anyway).

My problem occurs when I try to configure the server IP. When I set it to get an IP via DHCP, I have an internet connection; however, when I choose Configure IP Manual" in the Network Control Panel and enter all of the information, I lose internet connection. For the manual configuration, I type in the correct IP, Subnet Mask, and Router IP.

Interestingly, when I swith back to get IP via DHCP, the router sets the same address that I have in Manual and I then have an internet connection. Of course I don't want to have a dynamic IP on my server (ie, if my router has to be reset, etc... it may assign my server another IP).

Does anyone have an idea? Ive also tried using DHCP with a Manual Address with the same computer doesn't see the router.

Problem #2
Just to test it out, I left my computer set to using "DHCP" to obtain the IP address. I then simply configured my router to pass web requests to the IP it assigned to that computer. However, when I tested it from another computer (ie, entered my permanent IP in a browser), I did not see my webpage. Instead, I got the front-page utility of my router! This freaked me out and I disabled websharing and the virtual server of my router. Again, any help will be very appreciated.

WAny help will be appreciated!


Main Topics Newest First

Showing messages 1 through 1 of 1.

  • I'm not sure ....
    2005-07-27 01:17:56  randallz [View]

    Hey Mike,

    There are a few IP addresses to consider.

    In your home there is an IP address for each computer attached to your Belkin router, as well as one for the configuration page of the router itself.

    Let's say your computer is, another computer at home is, and you get the configuration page by going to

    Your cable modem, or whatever you use to connect to the internet, has another IP address according to the outside world. Everything on your home network has this same IP as far as the outside world, and it is up to your router to sort or properly ROUTE all traffic from outside.

    So, your computer thinks it's address is, the same address that you get in the System Prefs web sharing panel. However,
    will report back to your real address according to the outside world. (Note, that this is not the same as the IP address for configuring your router)

    For the sake of illustrating this, you can go to another computer on your home network and confirm that you get the same answer from

    So how does everything keep from getting confused? The router is essentially a small computer. When you type in an address, a request for data to be sent to your x.x.x.25 IP address is sent out. The router rewrites this to the real/outside IP address, then when the request is filled and the data begins to roll in it routes it to the same computer it knows asked for the data.

    It is different when you are the website. Setting up the router to send all port:80 requests to the computer at x.x.x.25 makes all requests sent to your real/outside IP address will be forwarded to your computer.

    I hope that makes sense, and that I didn't misunderstand your question.

    If you'd rather not require people to memorize a changing IP address, you can also find free services that will forward a more conventional text-url to your computer.