Click here to Skip to main content
15,121,414 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
Error Code: 502 Proxy Error. The host was not found.(11001)
IP Address:
Date: 9/7/2011 1:01:39 PM [GMT]
Source: proxy

Thanks in adv
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)

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