<VirtualHost 61.155.194.219:80>
DocumentRoot /var/www/destoon/
ServerName aaab2b.com
</VirtualHost>
以上是/etc/httpd/conf/httpd.conf的配置,用putty重启apche,命令:service httpd restart
出现以下语句,
# service httpd restart
Stopping httpd: [ OK ]
Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name, using 202.106.199.39 for ServerName
[ OK ]
本人的vps使用的是centos系统,请问是什么原因,我应该怎样才正确绑定域名,让网站正常浏览,求助!!!
DocumentRoot /var/www/destoon/
ServerName aaab2b.com
</VirtualHost>
以上是/etc/httpd/conf/httpd.conf的配置,用putty重启apche,命令:service httpd restart
出现以下语句,
# service httpd restart
Stopping httpd: [ OK ]
Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name, using 202.106.199.39 for ServerName
[ OK ]
本人的vps使用的是centos系统,请问是什么原因,我应该怎样才正确绑定域名,让网站正常浏览,求助!!!
<VirtualHost 127.0.0.1:80>
DocumentRoot D:\WWW\wamp\www
ServerName www.c.com
DirectoryIndex index.php
</virtualHost><VirtualHost 127.0.0.1:80>
DocumentRoot D:\WWW\wamp\www
ServerName see7di.meibu.com
DirectoryIndex index.php
</virtualHost># 首先要在drivers\etc\hosts下綁定www.b.com,然後建立blackhand資料夾
<VirtualHost 127.0.0.1:80>
DocumentRoot D:\WWW\wamp\www\blackhand
ServerName www.b.com
DirectoryIndex index.php
</virtualHost>
ServerName localhost:80
就可以了