 |
Apache2Triad Help, Support and Development The apache2triad help , support and development forums
|
| View previous topic :: View next topic |
| Author |
Message |
furious angel
Joined: 21 Jul 2006
Posts: 16
|
| Posted: Wed Oct 04, 2006 3:53 pm Post subject: ACCESS ISSUES... LISTEN? |
|
|
hey,
I swear i found the answer to this the other day somewhere on here but i can't for the life of me remember where.
My question is, i think.... how do you configure the server to listen for its own IP address?
EG: On computer1 (server) "www.myDomain.com" will work in a browser but on computer2 (computer on same network) it does not, you have to enter something like "http://computer1/....." to reach your site.
I have a feeling its somewhere in httpd.conf's "listen" declaration but im unsure of the syntax...
help... anyone? or if im mistaken please point me in the right direction...
cheers,
ben |
|
| Back to top |
|
Joshua Meadows (DemoRic)
Joined: 29 Dec 2004
Posts: 783
Location: S.E. Kansas
|
| Posted: Wed Oct 04, 2006 11:01 pm Post subject: |
|
|
Examples:
Listen *:80 or Listen 80 or Listen 0.0.0.0:80
(listens on all IP's on port 80)
Listen 192.168.0.1:80
(listens on ip 192.168.0.1 using port 80)[/]
Listen 172.0.0.1:80
[i]local loopback using port 80
As for your having to type
//computername to access your site from another pc that is on the same LAN.
It's a matter of DNS, or hosts files (C:\WINDOWS\system32\drivers\etc) |
|
| Back to top |
|
| |
|