添加主机提示这种错误

问答中心分类: OneinStack添加主机提示这种错误
salang asked 9 年 ago
今天用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]

2 Answers
salang answered 9 年 ago
而且安装好后直接在浏览器内输入主机IP 并不能打开网站并安装成功的默认页

oneinstack answered 9 年 ago
失误,请重新下载安装即可