How to create a short URL or vanity URL for SharePoint Site, can be done, but it is NOT done through SharePoint. You would create it through IIS.
I don’t have my SharePoint installation in front of me so am doing this from memory, thus not entering the exact step by step at the detail I normally do. Email me if you have questions.
To understand what we are doing below, we are going to create one IIS virtual empty site for each sub-site you want a vanity URL for, and simply redirect that site to the exact absolute URL of the sub-site. We will create one application pool that is separate from the existing SharePoint application pools, and all vanity URLs share that one app pool to save resources.
- Go to IIS.
- Go to SITES right click and ADD a Web Site.
- Name = SharePointVanityURLs (This is so the App Pool can be named this, and they will all share the one app pool to save memory, you will rename this site to your first redirected hostname later)
- Create New Application Pool = SharePointVanityURLs
- Physical Path = c:\inetpub\wwwroot\wss\VirtualDirectories\1stVanityName
- Host Name: 1stVanityName
- OK
- Click on your new web site.
- Right click and select RENAME and change the name of the web site to 1stVanityName.
- In the Actions Pane click Edit Permissions – Add Authenticated Users and click OK.
- Click on your new web site.
- In IIS section click Authentication – disable anonymous (unless using it) – enable Windows Authentication.
- Still focused on the Windows Authentication in the right pane click Advanced Settings and deselect Enable Kernel-mode authentication.
- Click on your new web site.
- In IIS section, click HTTP Redirect.
- Check Redirect requests to this destination.
- Enter your absolute URL to your sub-site without the home page entered.
- Check Redirect all requests to exact destination.
- In the right pane click Apply.
- Click on your new web site.
- Right click and select Manage Web Site – Restart.
- Enter a DNS record for this new vanity URL or short URL with an IP address that points to your Web Front End server or if using Load Balancing your VIP address.
- Flush DNS server cache and client cache if needing to test right away. Client is Command Prompt type IPCONFIG /flushdns .
Repeat steps above for each vanity URL, but the remain web sites on #4 select to use the existing App Pool “SharePointVanityURLs” instead of creating new ones.
That’s it, it is that easy