- 论坛徽章:
- 0
|
原帖由 千千阙歌 于 2007-3-14 15:27 发表
请问大家一下,公司搬家之后,我已经更改了web服务器的外网地址,可是现在访问网站的时候出现的是apache 2。0的信息页面,公司的网站找不到乐,请问这如何解决啊?
并且重启服务器的时候会有如下提示:
[root ...
方法一: 可以在httpd.conf文件中ServerName localhost或者127.0.0.1
呵呵:)
方法二:没试过,看了下估计也可以
来源:http://www.wallpaperama.com/disp-post90.html来源:
send the follwing two command. You must know your hostname and your domain name for this to work. if you have both, go ahead....
echo HOST.DOMAIN.com > /etc/hostname
HOST = Your host name
DOMAIN = Your Domain Name
/bin/hostname -F /etc/hostname
after I restart my server again, I didnt get the error anymore
hope this helps. |
|