{"id":355,"date":"2008-09-09T10:12:53","date_gmt":"2008-09-09T17:12:53","guid":{"rendered":"https:\/\/www.zubairalexander.com\/stage\/?p=355"},"modified":"2015-08-06T14:18:35","modified_gmt":"2015-08-06T21:18:35","slug":"how-to-change-the-host-header-of-a-moss-site","status":"publish","type":"post","link":"https:\/\/www.zubairalexander.com\/blog\/how-to-change-the-host-header-of-a-moss-site\/","title":{"rendered":"How to Change the Host Header of a MOSS Site"},"content":{"rendered":"<p>If you&#8217;ve configured your SharePoint site with a specific URL (host header), e.g. http:\/\/webportal and then later decided that you want to change it to another URL, such as sharepoint.seattlepro.com, you can use the Alternate Access Mapping feature of Microsoft Office SharePoint\u00a0 Server (MOSS) 2007. Here&#8217;s how.<\/p>\n<p>1. Start SharePoint 3.0 Central Administration.<\/p>\n<p>2. Click on the <strong>Operations <\/strong>tab.<\/p>\n<p>3. Under Global Configuration section click on <strong>Alternate access mappings<\/strong>.<\/p>\n<p>4. Click on Show All in the upper right-hand corner and then click on <strong>Change Alternate Access Mapping Collection<\/strong>.<\/p>\n<p>5. From Select An Alternate Access Mapping Collection window, click the URL that you would like to change, e.g. http:\/\/webportal.<\/p>\n<p>6. Click <strong>Edit Public URLs<\/strong>.<\/p>\n<p>7. Change the URL listed in the Default box to the one you want. For example, change it from http:\/\/webportal to <strong>http:\/\/sharepoint.seattlepro.com<\/strong>.<\/p>\n<p><a href=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2008\/09\/changing_url1.jpg\"><img decoding=\"async\" class=\"alignnone size-medium wp-image-6148\" src=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2008\/09\/changing_url1-300x214.jpg\" alt=\"changing_url\" width=\"300\" height=\"214\" srcset=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2008\/09\/changing_url1-300x214.jpg 300w, https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2008\/09\/changing_url1.jpg 381w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><br \/>\n8. Click <strong>Save<\/strong>.<\/p>\n<p>9. The next step is to update the information in Internet Information Services (IIS). Start IIS Manager. In our example, we will assume you are running IIS 7.<\/p>\n<p>10. Highlight the Web site whose URL you want to change.<\/p>\n<p>11. In the Actions pane click <strong>Bindings<\/strong> (or right-click the Web site and select Edit Bindings).<\/p>\n<p>12. Highlight the entry in the Edit Site Binding window and then click <strong>Edit<\/strong>.<\/p>\n<p>13. In the Host Name box enter the new URL that you would like to use. For example, <strong>sharepoint.seattlepro.com<\/strong>.<\/p>\n<p><a href=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2008\/09\/site_binding.jpg\"><img decoding=\"async\" class=\"alignnone size-medium wp-image-6149\" src=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2008\/09\/site_binding-300x161.jpg\" alt=\"site_binding\" width=\"300\" height=\"161\" srcset=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2008\/09\/site_binding-300x161.jpg 300w, https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2008\/09\/site_binding.jpg 404w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>14. Click <strong>OK<\/strong>, then click <strong>Close<\/strong>.<\/p>\n<p>15. Go to the command prompt and run <strong>iisreset<\/strong> to restart Internet services.<\/p>\n<p>16. You should now be able to use the new host header and access the site with the new URL (e.g. http:\/\/sharepoint.seattlepro.com).<\/p>\n<p><strong>NOTE<\/strong>: <em>If your Web site needs to be accessible from the Internet and you are using Microsoft ISA Server, or another firewall, you need to make sure that you update the DNS server and the ISA Server rule that allows you to access the Web site from the external network. For example, you need to add a host record for sharepoint.seattlepro.com in a DNS server that is accessible from the Internet and add the URL sharepoint.seattlepro.com on the Public Name tab of the ISA Server rule that is publishing the Web site.<\/em><\/p>\n<p><strong>Using Alernate Access Mapping to Configure a Different\u00a0URL for Internal Use<\/strong><\/p>\n<p>If you want to use a different URL for the intranet site internally (e.g. http\/\/intranet), you can add that URL in step 6. On the Alternate Access Mappings page, instead of clicking on Edit Public URLs, click on the link <strong>Add Internal URLs<\/strong>. In the Add Internal URL box type the URL that you want to add, e.g. http:\/\/intranet, then click Save. You still need to go to IIS Manager and in step 13 add a Site Binding for intranet. Your site bindings will look like this.\u00a0 Notice that you don&#8217;t need to type http:\/\/ in the Host Name box. Simply type the host header that you want to use (in our case its intranet).<\/p>\n<p><a href=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2008\/09\/site_bindings.jpg\"><img decoding=\"async\" class=\"alignnone size-medium wp-image-6150\" src=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2008\/09\/site_bindings-300x124.jpg\" alt=\"site_bindings\" width=\"300\" height=\"124\" srcset=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2008\/09\/site_bindings-300x124.jpg 300w, https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2008\/09\/site_bindings.jpg 471w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Make sure you don&#8217;t forget step 15 after modifying the bindings. That&#8217;s it. Now your users can access the intranet site internally by typing http:\/\/intranet and externally by typing <span style=\"text-decoration: underline;\"><span style=\"color: #0000ff; text-decoration: underline;\">http:\/\/intranet.seattlepro.com<\/span><\/span>.<\/p>\n<p>This is one of many examples of how Alternate Access Mappings\u00a0can be\u00a0used in MOSS 2007. It demonstrates how\u00a0the end user may type a different URL to access the site then the URL that is received by the Internet Information Services (IIS). With Alternate Access Mapping you can also associate multiple internal URLs with a single public URL, using one of 5 different authentication zones: Default, Intranet, Internet, Custom, and Extranet.<\/p>\n<p><!-- story content --><\/p>\n<hr \/>\n<p><span style=\"font-size: xx-small; font-family: Verdana;\">Copyright \u00a92008 Zubair Alexander. All rights reserved.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you&#8217;ve configured your SharePoint site with a specific URL (host header), e.g. http:\/\/webportal and then later decided that you want to change it to another URL, such as sharepoint.seattlepro.com, you can use the Alternate Access Mapping feature of Microsoft Office SharePoint\u00a0 Server (MOSS) 2007. Here&#8217;s how. 1. Start SharePoint 3.0 Central Administration. 2. Click [&hellip;]<\/p>\n","protected":false},"author":7,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[43,27,44,28,54,11,30,40],"tags":[],"class_list":["post-355","post","type-post","status-publish","format-standard","hentry","category-articles","category-iis","category-internetweb","category-isa-server","category-sharepoint","category-tips-tricks","category-longhorn-server","category-windows-xp"],"aioseo_notices":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.zubairalexander.com\/blog\/wp-json\/wp\/v2\/posts\/355","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.zubairalexander.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.zubairalexander.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.zubairalexander.com\/blog\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/www.zubairalexander.com\/blog\/wp-json\/wp\/v2\/comments?post=355"}],"version-history":[{"count":0,"href":"https:\/\/www.zubairalexander.com\/blog\/wp-json\/wp\/v2\/posts\/355\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.zubairalexander.com\/blog\/wp-json\/wp\/v2\/media?parent=355"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.zubairalexander.com\/blog\/wp-json\/wp\/v2\/categories?post=355"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.zubairalexander.com\/blog\/wp-json\/wp\/v2\/tags?post=355"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}