Host address url not working for SharePoint site?
-
06-12-2019 - |
Question
I have created web application on port 80 in SharePoint with host address like http://subsite.site.com
. I checked in IIS server host header was defined in the web site property. When I typed http://subsite.site.com
on IE browser on server itself showing undefined.
How to get http://subsite.site.com
on server and from client machine (my local machine)?
Solution
Make sure you have a Dns record set for the URL to point to the sharepoint server on your company dns server.
Eg an A host record mysite.mycompany.con points to 192.168.1.14.
Then Dns entry will send requests to your sharepoint server, and iis will pick up the host header and point to the correct web application. Add a binding to iis and include the host header.
You also need to configure your alternate access mappings in sharepoint central admin.
OTHER TIPS
You should configure Alternate Access Mappings.