Skip to the content

Extending a Web Application with HNSC

Step 1: Extend the Web Application

In the browser:

  1. Open SharePoint Central Administration
  2. Under Application Management select Manage web applications
  3. Select the web application you want to extend
  4. In the ribbon click on Extend
  5. Select Create a new IIS web site
  6. Enter a name, port and host header for your web application
  7. Choose your authentication type and select anonymous access if required
  8. Choose a zone and click OK
  9. Wait for the window to close, this can take some time
  10. Once completed do an IIS reset (Not always necessary)

Step 2: Create new site collection URL’s

  1. Open SharePoint Management Shell as Administrator
  2. Run the following PowerShell command where $currenturl is the URL of the site you want to access on another URL and $newurl is the new URL. Change the zone from custom to the required zone.
  3. Set-SPSiteURL(Get-SPSite $currenturl) -Url $newurl -Zone Custom

Step 3: Add Bindings

  1. Open Internet Information Services (IIS) Manager
  2. Expand your server name and expand sites
  3. Right click on the site you created when you extended your web application and select Edit Bindings
  4. Click on Add
  5. In Host name enter the URL that you entered as your new URL in the previous PowerShell command
  6. Click Ok and click Close

Step 4: DNS / Host File

  1. If this is a development environment with no DNS servers add an entry to your hosts file for the new URL. If this is live then speak to your systems administrator to get a DNS entry created.

About the author

Fuse

Fuse is a Microsoft Gold Certified Partner, based in Northampton. We help organisations of all sizes to maximise IT efficiencies through the use of Microsoft cloud computing solutions.

comments powered by Disqus

Lets talk.

We'd love to hear from you :0)