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
[root@xiangbuilder root]# /etc/init.d/httpd restart
Stopping httpd: [ OK ]
Starting httpd: [Sat Jul 5 21:07:25 2003] [alert] httpd: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
[ OK ]
But I have already used 127.0.0.1 for Servername in /etc/httpd/conf/httpd.conf as I said above.
[root@xiangbuilder root]# ./apachectl configtest
bash: ./apachectl: No such file or directory
Does this mean apache has been installed successfully in my OS?