服务的httpd错误 [英] Service httpd error
本文介绍了服务的httpd错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有3虚拟主机一台CentOS虚拟机。它工作得很好,直到这一刻我失去的时候访问DNS服务器。现在,主机无法得到解决。可以any1能告诉我,如果我可以配置一些静态路由或东西的虚拟主机?
I have a centOS virtual machine with 3 virtual hosts. It worked fine until this moment when I lost access to the dns server. Now the hosts can't be resolved. Can any1 tell me if I can configure some static routes or something to the virtual hosts?
打印屏幕在httpd回应:
Print screen with the httpd response:
P.S。我想prefere不配置DNS服务器,因为旧的明天重新开始。
P.S. I would prefere not to configure a DNS server since the old one will start tomorrow again.
推荐答案
在你的 / etc / hosts中
你可以将IP地址映射到主机名:
In your /etc/hosts
you can map IP addresses to hostnames:
127.0.0.1 example.com
127.0.0.1 example.net
// etc...
这篇关于服务的httpd错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文