In this post we will discuss about how to resolve The page can not be displayed error while opening a SharePoint site.
Also you can check out my previous posts on:
- New for visual webpart for SharePoint 2013 and Visual Studio 2012
- Check if list exists or not using TryGetList method in SharePoint 2010
- Add script reference dynamically through code in SharePoint
Few days back I got the error while opening my SharePoint site in my laptop on which I have installed SharePoint 2010. I have gone through a lot in google as well as I have posted a thread in the SharePoint forum. But I did not get a perfect answer for the problem. Finally I am able to solve the issue. Here are the steps:
Go to C:\Windows\System32\drivers\etc location and there You will get a file name as HOST.
Open it in Notepad.
This file contains the mappings of IP addresses to host names. So here there must be a chance that this has been removed. So first give the IPAddres then <tab> then the Host name <tab> then <Enter> and then save the file. Hope this will work for you.
Example like below:
127.0.0.1 fewlines4biju
Also you can check out my previous posts on:
- New for visual webpart for SharePoint 2013 and Visual Studio 2012
- Check if list exists or not using TryGetList method in SharePoint 2010
- Add script reference dynamically through code in SharePoint
Few days back I got the error while opening my SharePoint site in my laptop on which I have installed SharePoint 2010. I have gone through a lot in google as well as I have posted a thread in the SharePoint forum. But I did not get a perfect answer for the problem. Finally I am able to solve the issue. Here are the steps:
Go to C:\Windows\System32\drivers\etc location and there You will get a file name as HOST.
Open it in Notepad.
This file contains the mappings of IP addresses to host names. So here there must be a chance that this has been removed. So first give the IPAddres then <tab> then the Host name <tab> then <Enter> and then save the file. Hope this will work for you.
Example like below:
127.0.0.1 fewlines4biju