website on IIS displaying - webpage can not be displayed - message. Runs fine in Visual Studio.

Hi,

I have a website which runs fine when borwsed from Visual Studio.
But when I browse it from IIS, it displays  a message saying - Web page can not be displayed.

Any ideas why this could be happening?

Nothing in the event viewer logs.

Thanks in advance
IT-CICAAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
IT-CICAConnect With a Mentor Author Commented:
I re created the website and it started working.
0
 
guru_samiCommented:
Make sure you have default page set in IIS. Did you try accessing the page.
How did you publish? Do you have it properly configured VirtualDirectory
There could be several reasons.
Any screenshot or error and site in IIS Manager.
0
 
becraigCommented:
In the browser click on "more information" to see what the exact error is that is causing the failure you are seeing.
0
 
IT-CICAAuthor Commented:
This worked.
0
All Courses

From novice to tech pro — start learning today.