Customize SharePoint URL using AAM and DNS

1. Configure DNS

  • Open DNS Manager
  • Navigate to respective forward lookup zone.
  • Create a CNAME record by right clicking  in the zone and selecting “New Alias (CNAME)

Select relative host record of the CNAME.

        CNAME_Browse

Once you add the CNAME you can see an entry as below.

Update Group Policy
Make sure you run a Group Policy update after adding the record.

Check connectivity from CNAME record
And then you can check whether the CNAME is being resolved.  You can monitor that CNAME is being resolved.

2. Configure IIS

If the web application is hosted in port 80 you don’t have to edit the IIS host header as you will be redirected to port 80 when enter the CNAME.
If you are using a different port other that 80 you might have to IIS website.

  • To add an entry right click the web site in IIS manager, then select edit bindings.

IIS_EditBindings

  • Add Host name and Port. Note that you should CNAME record and the Host Name should be identical.

IIS_AddBinding
3. Add Alternate Access Mapping in SharePoint Central Administration
Central Administration -> Application Management -> Configure Alternate Access Mapping -> Edit Public URLs
Select the web Application, then add the URL to Preferred zone.

Now you can access SharePoint site by entering the Customized URL (CNAME).

By Rijwan Ansari

Research and Technology Lead | Software Architect | Full Stack .NET Expert | Tech Blogger | Community Speaker | Trainer | YouTuber. Follow me @ https://rijsat.com Md Rijwan Ansari is a high performing and technology consultant with 10 plus years of Software Development and Business Applications implementation using .NET Technologies, SharePoint, Power Platform, Data, AI, Azure and cognitive services. He is also a Microsoft Certified Trainer, C# Corner MVP, Microsoft Certified Data Analyst Associate, Microsoft Certified Azure Data Scientist Associate, CSM, CSPO, MCTS, MCP, with 15+ Microsoft Certifications. He is a research and technology lead in Tech One Global as well as leading Facebook community Cloud Experts Group and SharePoint User Group Nepal. He is a active contributor and speaker in c-sharpcorner.com community, C# Corner MVP and his rank at 20 among 3+ millions members. Additionally, he is knee to learn new technologies, write articles, love to contribute to the open-source community. Visit his blog RIJSAT.COM for extensive articles, courses, news, videos and issues resolution specially for developer and data engineer.

Leave a Reply

Your email address will not be published. Required fields are marked *