I configured virtual domain as follow:
Code: Select all
<VirtualHost 121.40.125.1:80>
ServerAdmin admin@1cdeli.com.cn
DocumentRoot var/www/html/1cdeli.com.cn/public_html/
ServerName http://www.1cdeli.com.cn
ServerAlias 1cdeli.com.cn
ErrorLog logs/1centdeli.com.cn-error_log
CustomLog logs/1cdeli.com.cn-access_log common
</VirtualHost>
Code: Select all
[root@iZ23adihnzwZ conf]# /etc/init.d/httpd restart
Stopping httpd: [ OK ]
Starting httpd: Warning: DocumentRoot [/etc/httpd/var/www/html/1cdeli.com.cn/public_html/] does not exist
Code: Select all
DocumentRoot "/var/www/html"
<Directory "/var/www/html">
Code: Select all
The requested URL / was not found on this server
Rgds
Czarek.