How do I get my 192.168.* Linux server accessible via http://hostname/?

Posted by rfrankel on Server Fault See other posts from Server Fault or by rfrankel
Published on 2010-06-16T17:52:13Z Indexed on 2010/06/16 18:03 UTC
Read the original article Hit count: 199

Filed under:
|

(Sorry if this question isn't worded well and/or is duplicate. I'm not a networking guy and I'm probably not using the right terms...this also makes it hard to see if this has already been answered.)

I'm running a CentOS server in VirtualBox, Windows host, and I can see access Apache-hosted pages at http://192.168.1.109/ from machines on my LAN. But what I'd like is for people to be able to type http://hostname/ ...both because it's easier and primarily because I'm not sure that local IP is static. I'm not really sure how to proceed - could someone point me in the right direction? Thanks.

© Server Fault or respective owner

Related posts about lan

Related posts about linux-networking