Sharepoint 2016 On-Premises Webapplication Name and URL Change

Gopan 101 Reputation points
2020-10-04T07:05:18.42+00:00

We are in need to change the Single webapplication name and URL Change for Host Header on our Sharepoint 2016 Farm.Kindly guide for the same.Any help appreciated
for eg: currently its is test.sp.com and we need to have justfortest.test.com
Thanks & Regards
Gopakumar

SharePoint Server
SharePoint Server
A family of Microsoft on-premises document management and storage systems.
2,393 questions
0 comments No comments
{count} votes

Accepted answer
  1. Jerry Xu-MSFT 7,956 Reputation points
    2020-10-05T08:59:52.463+00:00

    Hi, @Gopan ,
    If you want to change the name of the URL, simply use the script below will work for you.

    $WebApp = SPWebApplication | where {$_.Name -match "OldWebAppName"}  
    $WebApp.Name ="NewWebAppName"  
    $WebApp.Update()  
    # This bit is just to verify it updated correctly  
    Get-SPWebApplication | where {$_.Name -match "NewWebAppName"}  
    

    And for URL, you will need to add a new DNS, configure AAM (Alternate Access Mappings) and add a new binding in IIS.

    You can follow this tutorial :https://howtodowithsharepoint.wordpress.com/2018/01/26/sharepoint-2016-how-to-implement-alternate-access-mapping/


    If the answer is helpful, please click Accept Answer and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


1 additional answer

Sort by: Most helpful
  1. Gopan 101 Reputation points
    2020-10-05T09:01:26.9+00:00

    Thankyou ..will check it out .Thansk A lot

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.