Fuse is a Microsoft Partner, based in Northampton. We help organisations of all sizes to maximise IT efficiencies through the use of Microsoft cloud computing solutions.
Extending a Web Application with HNSC
Step 1: Extend the Web Application
In the browser:
- Open SharePoint Central Administration
- Under Application Management select Manage web applications
- Select the web application you want to extend
- In the ribbon click on Extend
- Select Create a new IIS web site
- Enter a name, port and host header for your web application
- Choose your authentication type and select anonymous access if required
- Choose a zone and click OK
- Wait for the window to close, this can take some time
- Once completed do an IIS reset (Not always necessary)
Step 2: Create new site collection URL’s
- Open SharePoint Management Shell as Administrator
- 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.
- Set-SPSiteURL(Get-SPSite $currenturl) -Url $newurl -Zone Custom
Step 3: Add Bindings
- Open Internet Information Services (IIS) Manager
- Expand your server name and expand sites
- Right click on the site you created when you extended your web application and select Edit Bindings
- Click on Add
- In Host name enter the URL that you entered as your new URL in the previous PowerShell command
- Click Ok and click Close
Step 4: DNS / Host File
- 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.