Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Apache 2 on Windows - Local Intranet via Router |
|
Author |
|
eznuff
Joined: 22 Apr 2007 Posts: 1
|
Posted: Sun 22 Apr '07 0:55 Post subject: Apache 2 on Windows - Local Intranet via Router |
|
|
Hello, This may be answered somewhere else, but I wasn't able to find it easily. I have Apache 2 running on a W2000 machine on my home network that is connected via a router that connects to a cable modem. I am able to get to the server by using http://localhost on the machine where Apache is installed. However, I can't get to it from the other machine on my intranet. I only want to be able to get to it from within my home network. I have assigned an IP address 192.168.... to the Windows machine, but I am not sure what to put in the httpd.conf file as the server (right now I have the IP address). One thing I have noticed is that since I assigned the IP address to the windows machine, I can no longer access the internet. Any help would be greatly appreciated! |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Mon 23 Apr '07 10:16 Post subject: |
|
|
When you are online with your modem, you get an external IP by your ISP.
http://whatsmyip.org/ can show you that one. Copy the IP. Paste it in to your browsers adress line and hit enter. Do not put any IP address into your httpd.conf |
|
Back to top |
|
bokehman
Joined: 12 Oct 2006 Posts: 11
|
Posted: Mon 23 Apr '07 14:00 Post subject: |
|
|
If you want to connect to the LAN ip of your server you will need to open the firewall to port 80 requests (from the LAN at least). If there is now a problem connecting to the net from the server box after allocating it a static LAN IP this is probably down to not assigning correct DNS settings. Go to Network connection properties >> TCP/IP >> Properties, and either fill in the correct details or select obtain automatically. This would normally be the DNS of your ISP. |
|
Back to top |
|
|
|
|
|
|