Board logo

标题: [教程] 后台创建站点后打开新站点仍显示默认站点 [打印本页]

作者: admin    时间: 2012-5-23 10:00     标题: 后台创建站点后打开新站点仍显示默认站点

后台创建站点后,在打开新站点时即显示默认站点
只要在后台里重起下httpd服务或在运行命令里运行
service httpd restart

如果还不行,用SSH登录重起,如

service httpd restart

如还不行,把错误信息贴上来
作者: testu    时间: 2012-7-17 14:26

今天出现了这个错误,后来发现是因为两台vps,白名单绑错了。
作者: christyng    时间: 2013-3-29 20:30

本帖最后由 christyng 于 2013-3-29 20:33 编辑

我用SSH登录重起就出现下面的错识信息


[root@hkeasyspeed-04 ~]# service httpd restart
Stopping httpd:                                            [  OK  ]
Starting httpd: Warning: DocumentRoot [/www/web/yoyoshopex/public_html/uukf] doe                 s not exist




这个目录的文件也不存在了 /www/web/yoyoshopex/public_html/uukf
作者: admin    时间: 2013-3-29 21:35

但还有站点?
作者: happyboy    时间: 2013-3-29 22:15

默认站点文件不存在,请检查你的默认站点文件名是否和你的站点配置里的文件名一样
作者: christyng    时间: 2013-3-30 03:20

我刚SSH登录重启,现是出现以下信息

[root@hkeasyspeed-04 ~]# service httpd restart
Stopping httpd:                                            [  OK  ]
Starting httpd:                                            [  OK  ]
[root@hkeasyspeed-04 ~]#
作者: admin    时间: 2013-3-30 09:25

这样是正常的
作者: christyng    时间: 2013-3-30 15:20

回复 7# admin

但是用IP+端口 打开新站点仍显示默认站点
作者: showjiange    时间: 2013-5-28 08:10

您好,安装时候选择了“4”,就是切换版本问题,绑定了域名,上传了文件,但是默认打开页面是  apache 的测试页面,重启服务器后变成了“404 Not Found[hr]nginx/1.0.15”  求指教
作者: admin    时间: 2013-5-28 09:14

apache 的测试页面
默认测试页面,应该是启动了系统自带的apache
作者: kenny530    时间: 2013-7-21 17:38

apache 的测试页面
默认测试页面,应该是启动了系统自带的apache
admin 发表于 2013-5-28 09:14



   请问下 要怎么解决呢?
作者: eflyingxp    时间: 2013-12-4 16:57

root@ubuntu:~# service httpd restart
* Restarting web server httpd                                                  [Wed Dec 04 16:24:29 2013] [warn] NameVirtualHost *:88 has no VirtualHosts
... waiting [Wed Dec 04 16:24:30 2013] [warn] NameVirtualHost *:88 has no VirtualHosts
                                                                         [ OK ]
作者: soujiuhulian    时间: 2014-3-23 21:29

为什么我建站点打不开
作者: zhoucloud    时间: 2015-6-2 06:41

后台创建整站后,在打开新站点时即显示默认站点
在后台里重起了httpd服务或和用SSH登录重起service httpd restart
还是不行,不知道是什么原因
作者: 爵士    时间: 2016-7-15 00:25

回复 7# admin


   我想禁止IP访问到网站需要怎么弄呢?
作者: kitezz    时间: 2018-7-25 15:21

服务器上之前创建的站点可以正常访问,最近后台创建站点后打开新站点仍显示默认站点,wdcp面板查看httpd显示未启动,后台启动httpd失败,通过ssh运行:service httpd restart 报错。
错误信息
Restarting httpd (via systemctl):  Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details.
                                                           [FAILED]
作者: kitezz    时间: 2018-7-25 15:22

回复 1# admin


   
服务器上之前创建的站点可以正常访问,最近后台创建站点后打开新站点仍显示默认站点,wdcp面板查看httpd显示未启动,后台启动httpd失败,通过ssh运行:service httpd restart 报错。
错误信息
Restarting httpd (via systemctl):  Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details.
                                                           [FAILED]





欢迎光临 WDlinux官方论坛 (http://www.wdlinux.cn/bbs/) Powered by Discuz! 7.2