What is the correct way of adding additional host headers so that a sharepoint web application will work with both the short name and the fully qualified domain name (FQDN)?
ie I have a web application "Our Intranet", with an "A name" entry setup in DNS to point to the server. The web application was originally setup with the host header property set to "intranet.domainname.com". I am able to access the site by browsing to 'http://ourintranet.domainname.com', but since this is an intranet site only, I would also like users to be able to access the site by typing 'http://ourintranet' rather than having to enter the full qualified domain name. I have SPNs created for both http/ourintranet and http/ourintranet.domainname.com
In the past (MOSS2007), I have done this by adding the binding to the IIS web site for "ourintranet", and then adding a new public Alternate Access Mapping forhttp://ourintranet in Central admin, but this doesn't seem to work - I find that I am being prompted to login when going tohttp://ourintranet. Also, I believe if I make these changes directly in IIS, that I will need to make these changes to all of the web servers, and again if I add additional servers to the farm.
I have also looked at extending the web application, but it seems a bit strange to have to create another site just to allow access on either the FQDN or the short name, and would also mean that any changes to the original site (eg web.config changes) would need to be applied to the additional sites as well.
I am not sure if it has any impact, but the web application is using claims based authentication.
So what is the CORRECT way of achieving this.
thanks in advance for any assistance.