SharePoint - Create Host name for web application

Need to create web application with the following name:

http://intranet.SP2013.com

1. Create Host Name

open hosts file from the following path:

c:\Windows\System32\drivers\etc

enter the below mentioned line and save.

127.0.0.1 intranet.SP2013.com

2. Create Web Application

Please note to set the following properties:
Port: 80
Host Header: intranet.sp2013.com

3. Disable Loopback

May face the following issues:-
·         There is continuous prompt for the credentials
·         HTTP 401.1 error
To fix these issues, need to disable Loopback check, Open Registry editor (regedit.exe) and locate the following key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa
Create a new Key (DisableLoopbackCheck) Value of type DWORD inside it and set the value to 1.

Now test the host name : http://intranet.sp2013.com

Comments

Popular posts from this blog

How to remove app from SharePoint 2013/2016

The model backing the context has changed since the database was created. Consider using Code First Migrations to update the database