Apache Web Server

Associate
Joined
25 Aug 2004
Posts
163
Location
Reading
I have an Apache web server running php and mySQL setup using wampserver on a Windows XP pro machine. This is networked with a few others around the house, how can I view my webpages from other PC's on the network? I'm a bit of a n00b so sorry for the stupid question.

I've set up sites using Windows 2003 Server and ISS but never used Apache before.
 
Assuming the XP pro machine isn't firewalled, direct the browsers of the other machines to:

http://ip.of.the.host

For instance, your internal IP scheme may be 192.168.1.1 (router) etc. So say your webserver was on the machine with ip 192.168.1.2

http://192.168.1.2

is where you would point the browser. Is that what you wanted to know?

P.S

start-> run -> "cmd" enter -> ipconfig

should list the IP addresses of your network cards on your webserver machine. The one you want is likely headed "Local Area Connection". Note though, that if your router assigns IPs through DHCP, that your webserver's ip may change from time to time unless the router's DHCP server attempts to assign the same IP to the same mac, or you have set up the ethers (or similar aka static-dynamic IPs) [it's unlikely you have this functionality on a home router unless you are running something like a wrt54g with hacked firmware (dd-wrt, openwrt, etc)]
 
Last edited:
Do you have a default page present/configured e.g. index.html or whatever is listed against the DirectoryIndex configuration setting? If you don't have a default page configured, or it doesn't exist, then Apache might be complaining that you're trying to browse the root directory of the web site (the 403 error you're seeing) if the permissions don't allow for directory listing.
 
Last edited:
Everything now works on the local machine using either localhost, the server name or the IP Address, the whole set up is networked and I can access files and see other machines.

Other machines can find the web servers shared folders by typing //SERVER/Foldername or using the IP address and it's in network places, but when trying that in a web browser with an http protocol i.e http://SERVER or using the IP address I just get Page Cannot be Displayed...

Still puzzled!
 
Back
Top Bottom