求助!!请高手帮帮我!!!

由 yingao 在 05-25-2003 18:21 发表:

求助!!请高手帮帮我!!!

我在linux9。0做web 服务器的时候,已经设置好域名了,

www.1.com

我指定好存放主页的位置。DocumentRoot /var/www/html

但是我的主页文件放在/var/www/html下了

但是我输入我 www.1.com 的时候无法找到!!

请问是怎么回事,是不是我主页放错了!!!


由 cotacota 在 05-25-2003 20:58 发表:


先配置好httpd.conf文件


由 yingao 在 05-25-2003 21:51 发表:


我已经配置了1次了,不成功!你能把你的给我看看吗/?


由 Debentoo Gao 在 05-25-2003 22:27 发表:

我觉得就这两点设好了应该没问题,除非你的网络设置有问题

1.

ServerName gives the name and port that the server uses to identify itself.

This can often be determined automatically, but we recommend you specify

it explicitly to prevent problems during startup.

If this is not set to valid DNS name for your host, server-generated

redirections will not work. See also the UseCanonicalName directive.

If your host doesn't have a registered DNS name, enter its IP address here.

You will have to access it by its address anyway, and this will make

redirections work in a sensible way.

ServerName www.embaby.3322.org:80 =>你的网站域名

2.<br

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus