CertCities.com  -- The Ultimate Site for Certified IT Professionals
Listen, See, Win! Register for a Free Tech Library Webcast Share share | bookmark | e-mail
 Microsoft®
 Cisco®
 Security
 Oracle®
 A+/Network+™
 Linux/Unix
 More Certs
 Newsletters
 Salary Surveys
 Forums
 News
 Exam Reviews
 Tips
 Columns
 Features
 PopQuiz
 RSS Feeds
 Press Releases
 Contributors
 About Us
 Search
 

Advanced Search
 Free Newsletter
  Sign-up for the #1 Weekly IT
Certification News
and Advice.
Subscribe to CertCities.com Free Weekly E-mail Newsletter
CertCities.com

See What's New on
Redmondmag.com!

Cover Story: IE8: Behind the 8 Ball

Tech-Ed: Let's (Third) Party!

A Secure Leap into the Cloud

Windows Mobile's New Moves

SQL Speed Secrets


CertCities.com
Let us know what you
think! E-mail us at:
ccfeedback@certcities.com


 
 
...Home ... Editorial ... Columns ..Column Story Friday: July 30, 2010
TechMentor Conferences


 Tip o'the Week  
Zubair      Alexander
Zubair Alexander


  • PRINTABLE FORMAT
  • E-MAIL STORY
  • POST YOUR COMMENTS
  • MORE COLUMNS
  •  Using Host Headers and Alternate Access Mapping in SharePoint
    How do I configure Microsoft Office SharePoint Server 2007 to use one URL for users to access our intranet from the external networks and a different URL to access the same site internally?
    by Zubair Alexander  
    5/19/2009 -- How do I configure Microsoft Office SharePoint Server (MOSS) 2007 to use one URL for users to access our intranet from the external networks and a different URL to access the same site internally? We use ISA Server 2006 to publish the SharePoint site.

    Answer:
    What you need to do is use Host Headers and Alternate Access Mapping. You could even use different port numbers because ISA Server can easily redirect external users to the right port for your SharePoint site. First, I'll show how to change the URL (host header) and then show how to add a different link for accessing the intranet site internally.

    If you've configured your SharePoint site with a specific URL (say, http://webportal) and now you want to change it to another URL (say, http://sharepoint.seattlepro.com), you can use the Alternate Access Mapping feature in MOSS 2007. Here's how.

    1. Start SharePoint 3.0 Central Administration.

    2. Click on the "Operations" tab.

    3. Under the Global Configuration section, click on "Alternate access mappings."

    4. Click on "Show All" in the upper right-hand corner and then click on "Change Alternate Access Mapping Collection."

    5. From the "Select an Alternate Access Mapping Collection" window, click the URL that you'd like to change (in this example, http://webportal).

    6. Click "Edit Public URLs."

    7. Change the URL listed in the Default box to the one you want. So, in this example, change it from http://webportal to http://sharepoint.seattlepro.com.

      Figure 1

    8. Click Save.

    9. The next step is to update the information in Internet Information Services (IIS). Start IIS Manager. This example assumers you're running IIS 7.

    10. Highlight the Web site with the URL you want to change.

    11. In the Actions pane, click "Bindings" (or right-click the Web site and select "Edit Bindings").

    12. Highlight the entry in the "Edit Site Binding" window and then click "Edit."

    13. In the Host Name box, enter the new URL you'd like to use (for example, sharepoint.seattlepro.com). Don't type "http://" before the host name.

      Figure 2

    14. Click OK, then click Close.

    15. Go to the command prompt and run iisreset to restart Internet services.

    You should now be able to use the new host header and access the site with the new URL (http://sharepoint.seattlepro.com).

    Because you're using ISA Server to publish your SharePoint site, 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's accessible from the Internet and add the URL sharepoint.seattlepro.com on the Public Name tab of the ISA Server rule that's publishing the Web site.

    You also want to use a different URL for the intranet site internally. Let's say you want to use the URL http//intranet. You can add this URL in Step 6. On the Alternate Access Mappings page, instead of clicking on "Edit Public URLs," click on "Add Internal URLs." In the Add Internal URL box, type http://intranet, then click Save.

    You still need to go to IIS Manager and in Step 13 add a Site Binding for intranet. You don't need to type "http://" in the Host Name box; Simply type the host header that you want to use, which in your case is just the word "intranet" without the quotes.

    Figure 3

    Make sure you don't forget Step 15 after modifying the bindings.

    That's it! Now your users can access the intranet site internally by typing "http://intranet" and externally by typing "http://intranet.seattlepro.com."


    Zubair Alexander, MCSE, MCT, MCSA and Microsoft MVP is the founder of SeattlePro Enterprises, an IT training and consulting business. His experience covers a wide range of spectrum: trainer, consultant, systems administrator, security architect, network engineer, author, technical editor, college instructor and public speaker. Zubair holds more than 25 technical certifications and Bachelor of Science degrees in Aeronautics & Astronautics Engineering, Mathematics and Computer Information Systems. His Web site, www.techgalaxy.net, is dedicated to technical resources for IT professionals. Zubair may be reached at alexander@techgalaxy.net.

     


    More articles by Zubair Alexander:
  • FrontPage Server Extensions on 64-bit Windows Server 2008
  • Synching Outlook 2007 Contacts with SharePoint
  • Saving SharePoint Files to the Server
  • Moving, Deleting a File That's Always in Use

  • -- advertisement --


    There is 1 CertCities.com user Comments for “Using Host Headers and Alternate Access Mapping in SharePoint”
    Page 1 of 1
    12/11/09: Budgetparticular says:Herself Mother,rich no specific lose ear comment scientist serious respect according remain highly interpretation joint far skill affair red sufficient crowd cabinet wing whatever design last work sign motor wife disease stuff also including region which hold everybody winter circle which iron speak follow link hand per simple both identify many rural legislation expression fall protect beautiful doubt happy environment use perform turn different president surround approach both professional achievement through ever standard to college branch tear previous conservative spot next along experience combine no-one writing survive investigate studio turn
    Your comment about: “Using Host Headers and Alternate Access Mapping in SharePoint”
    Name: (optional)
    Location: (optional)
    E-mail Address: (optional)
    Comment:
       

    top