问题
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?
Print screen with the httpd response:

P.S. I would prefere not to configure a DNS server since the old one will start tomorrow again.
回答1:
In your /etc/hosts
you can map IP addresses to hostnames:
127.0.0.1 example.com
127.0.0.1 example.net
// etc...
来源:https://stackoverflow.com/questions/4814515/service-httpd-error