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: How to access pages via LAN |
|
Author |
|
Mike-H
Joined: 29 Dec 2008 Posts: 16
|
Posted: Mon 05 Jan '09 18:01 Post subject: How to access pages via LAN |
|
|
Hello,
I am running Apache 2.2.11 on my Windows XP laptop for a development/testing environment. I would like my boss/co-worker to view my pages before I move them to a live site on the web. I am able to view the pages fine when I am on my own pc. I tried changing the hosts file on another computer in the office to point to my computer for this test site, but the page would not come up. What do I need to change so that I can view my pages from another computer in my local network?
Thanks in advance for your help.
Mike |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Wed 07 Jan '09 17:25 Post subject: |
|
|
Hi Mike,
if you don't need a host name, the easiest method is to using the IP from your PC to access it from the network.
e.g.
http://192.168.0.5
if you need to have a host name you need a DNS server or you edit the hosts files on the other PC as you tried.
e.g.
Code: |
192.168.0.5 mikesserver
|
replace 192.168.0.5 with your IP.
Also make sure that your firewall does not block the port from apache.
If you still have a question please ask again. |
|
Back to top |
|
|
|
|
|
|