【发布时间】:2015-06-07 10:42:33
【问题描述】:
我有 10 台计算机,我想在所有系统上获取我的本地主机。我正在使用 ubuntu 12.04 。我像这样更改了我的主机文件
127.0.0.1 localhost
127.0.1.1 ri8-MS-7788
192.168.1.22 manojdhiman.com
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
如果我点击 http://192.168.1.22/ 之类的 url,我的项目可以在其他具有 IP 地址的计算机上使用,但如果我使用 http://manojdhiman.com/
,则无法使用【问题讨论】:
标签: dns localhost server lamp lan