Normally when you create a web application in SharePoint its Url is:
“http://<Server Name>:Port”
or “https://<Server
Name>:Port”.
We can also
create a web application that contains a URL that is not of the above format,
instead it could be “http://mywebapp.sharepoint.com”
or “https://mywebapp.sharepoint.com”.
In order to create,
host named web application following steps is needed to be followed.
1.
We need to create a host name in the DNS. The
host name will be the url, the site. In my case my host name will be “mywebapp”.
2.
You need to login to your Active Directory
server to create new host entry in DNS.
3. Create DNS entries
4.
Let’s go to the DNS server and
create a new A Host with the “mywebapp.sharepoint.com” FQDN and
pointing to the web front end.
5.
Now open Central Admin> Manage Web
applications> New. Provide the created host name in the Host Header in creating
web application form. In my case its “mywebapp.sharepoint.com”.
6.
Now, once your web application is created in
case of SharePoint 2013 we need to add binding in IIS for the host named web
application. If you are using SharePoint 2010 then no configuration is needed.
Below are the IIS bindings needed for SharePoint 2013.
I.
Open IIS on SharePoint 2013 server.
II.
Select your site
III.
Click on edit bindings.
IV.
Select your site binding, click on edit. Add
your host name as shown in below figure.
Regards,
Keyur Pandya
Comments
Post a Comment