#
[root@test l0000]# vi /etc/httpd/conf/httpd.conf
NameVirtualHost *:80
#
# NOTE: NameVirtualHost cannot be used without a port specifier
# (e.g. :80) if mod_ssl is being used, due to the nature of the
# SSL protocol.
#
#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for requests without a known
# server name.
#
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www/test.domain.com/test.domain.com/
ServerName test.screwgun.org
ErrorLog /var/log/httpd/ttest.domain.com-error_log
CustomLog /var/log/httpd/test.domain.com-access_log common
</VirtualHost>
=========
[root@test l0000]# service httpd restart
Stopping httpd: [FAILED]
Starting httpd: Warning: DocumentRoot [/var/www/test.domain.com/test.domain.com/] does not exist
[ OK ]