apache question
In home folder, there is no "httpd" folder,
so I add it, and add a simple *.html file in it.
I have applied the web address: xiangbuilder.dns0755.net
but when I type "xiangbuilder.dns0755.net" in http address box,
"The page not find" appears.
What is wrong?
And what should I do?
Here is the detail:
I have select "everything" during installing Redhat 7.2.
[root@xiangbuilder root]# /etc/init.d/httpd start
Starting httpd: [Fri Jul 4 22:51:55 2003]
[alert] httpd: Could not determine the server's fully qualified domain name,
using 127.0.0.1 for ServerName
[ OK ]
So I open the file: /etc/httpd/conf/httpd.conf
modify the "servername localhost" to "servername 127.0.0.1"
[root@xiangbuilder root]# /etc/init.d/httpd start
Starting httpd:
[root@xiangbuilder root]#
Seems well this time, but
[root@xiangbuilder root]# apachectl configtest
bash: apachectl: command not found
Thank you.
Last edited by Xiangbuilder; 07-04-2003 at 08:21 PM.
|