下面我们将ServerName字段加上去,后面的名称我们随意写
<VirtualHost 192.168.0.111>
ServerAdmin [email]hong.yao@infonaligy.com[/email]
DocumentRoot /var/www/html/s1
ServerName s1
ErrorLog logs/dbpi_web-error_log
TransferLog logs/dbpi_web-access_log
apache里面的一些常见错误
https://blog.51cto.com/liujia/122136
转载请注明出处:
未经允许不得转载:lxfamn » Name or service not known: Failed to resolve server name for 192.168.0.111 (check DNS) — or specify an explicit ServerName