可与IP配合使用,但不能使用主机名 [英] works with IP but hostname its not work

查看:74
本文介绍了可与IP配合使用,但不能使用主机名的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在apache centos托管一个网站,
网站正在按IP地址打开,但使用主机名无法正常工作.

出现错误

i am hosting a website in apache centos,
website is opening by IP address but using hostname its not working.

getting error

Error Code: 502 Proxy Error. The host was not found.(11001)
IP Address: 172.31.26.83
Date: 9/7/2011 1:01:39 PM [GMT]
Server: testproxy.test.com
Source: proxy





谢谢adv





Thanks in adv

推荐答案

请按照Yvan提供的步骤操作,如果仍然无法正常工作,请提供代码段进行分析.
Please follow the steps provided by Yvan, and if it still not working please provide your code snippet for analysis.


这篇关于可与IP配合使用,但不能使用主机名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆