Click here to Skip to main content
15,076,465 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
i am hosting a website in apache centos,
website is opening by IP address but using hostname its not working.

getting error
VB
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




Thanks in adv
Posted
Comments
Yvan Rodrigues 7-Sep-11 13:32pm
   
Can you ping the hostname? Is DNS resolving the hostname correctly? Is apache listening for all connections on port 80 or only certain hostnames?

1 solution

Please follow the steps provided by Yvan, and if it still not working please provide your code snippet for analysis.
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900