Create web application with Host Header in SharePoint 2013
2012-11-23 14:39
204 查看
Our protal need to be upgraded to SharePoint 2013, so I have tried to installed SharePoint 2013 3 tiers farm.
My servers are Windows 2008 R2(with SP1) boxes and Sql server version is Sql 2008 R2.
After finishing the installation, I tried to create web application with Host Header in SharePoint 2013, I used the testprotal as host header, then create site collection for it:
In order to test the host header I need to do follow in my test enviroment.(If it is in the product enviroment, you only need to add a host entry in the DNS server)
1. In the hosts file(you can find it from here C:\Windows\System32\drivers\etc), add a host entry and save it
192.168.1.8 TestPortal #192.168.1.8 is my WFE server
2. In the IE browser, open the proxy setting, input the TestPortal* for the exceptions, and check the checkbox for "Bypass proxy server for local addresses"
3. Open the IE option, in the security tab, click the "Local intranet", click sites, addhttp://testprotal into the sites, and save it
Then, I thought it should be work, tried to open http://testprotal , but it always asked me input the credential, even I provided my credentail, it still doesn't work
Then I tried to redo the step1 to step3 on an other box(not WFE server), it works.
Why it doesn't work in the WFE server?
It is caused by the loopback check, I tried to disable it by running the powershell script on the WFE server:
Then try to open http://testprotal on the WFE server again, it works for this time
My servers are Windows 2008 R2(with SP1) boxes and Sql server version is Sql 2008 R2.
After finishing the installation, I tried to create web application with Host Header in SharePoint 2013, I used the testprotal as host header, then create site collection for it:
In order to test the host header I need to do follow in my test enviroment.(If it is in the product enviroment, you only need to add a host entry in the DNS server)
1. In the hosts file(you can find it from here C:\Windows\System32\drivers\etc), add a host entry and save it
192.168.1.8 TestPortal #192.168.1.8 is my WFE server
2. In the IE browser, open the proxy setting, input the TestPortal* for the exceptions, and check the checkbox for "Bypass proxy server for local addresses"
3. Open the IE option, in the security tab, click the "Local intranet", click sites, addhttp://testprotal into the sites, and save it
Then, I thought it should be work, tried to open http://testprotal , but it always asked me input the credential, even I provided my credentail, it still doesn't work
Then I tried to redo the step1 to step3 on an other box(not WFE server), it works.
Why it doesn't work in the WFE server?
It is caused by the loopback check, I tried to disable it by running the powershell script on the WFE server:
New-ItemProperty HKLM:\System\CurrentControlSet\Control\Lsa -Name "DisableLoopbackCheck" -value "1" -PropertyType dword
Then try to open http://testprotal on the WFE server again, it works for this time
相关文章推荐
- Tab with web parts from web part zone in Sharepoint 2013
- There is not a header with name ServiceContext and namespace http://schemas.microsoft.com/sharepoint/servicecontext in the messa
- 小议:SharePoint 2013如何创建与Web Application不同的Host Header Site Collection?
- Create a workflow with elevated permissions by using the SharePoint 2013 Workflow platform
- jQuery Call web services(SOAP) in SharePoint 2013
- Customize the SharePoint 2013 search experience with a Content Enrichment web service
- how to add Javascript and CSS in page layout with sharepoint 2013
- Create subtask in task list via client javascript in sharepoint 2013
- Making the Newsfeed web part available outside of My Sites in SharePoint 2013 分类: Sharepoint 2015-07-07 19:29 4人阅读 评论(0) 收藏
- Create custom Task List and Forms in SharePoint 2010 with Visual Studio 2012
- Troubleshooting Office Web Apps with SharePoint 2013
- Making the Newsfeed web part available outside of My Sites in SharePoint 2013
- How to use sharepoint webservices in web application
- Create a “% Complete” Progress Bar with JS Link in SharePoint 2013
- How to create custom navigation menu in SharePoint with XML data source 使用XML数据源在SharePoint创建自定义导航菜单
- How to create and delete a SharePoint site by web application
- How to create custom navigation menu in SharePoint with XML data source 使用XML数据源在SharePoint创建自定义导航菜单
- In-Place upgrade to Team Foundation Server (TFS) 2015 from TFS 2013Team Foundation Server TFS TFS 2015 TFS upgrade TFS with Sharepoint
- [Solution]How to create Project Web App in SharePoint
- Configure Excel Services with multiple servers in SharePoint Server 2013