添加主机提示这种错误

问答中心分类: OneinStack添加主机提示这种错误
salang 提问 2年 前

今天用centos 6 32位环境 安装oneinstack
到了添加主机这一块
没想到出现这种提示:

[Sat Apr 09 00:03:49 2016] [error] (EAI 2)Name or service not known: Could not resolve host name *: — ignoring!
[Sat Apr 09 00:03:49 2016] [error] (EAI 2)Name or service not known: Could not resolve host name *: — ignoring!
Syntax error on line 5 of /usr/local/apache/conf/vhost/0.conf:
ServerName takes one argument, The hostname and port of the server
Create virtualhost … [FAILED]