Change web application port number in SharePoint 2010

Recently, one of my partners came with a request of changing his web application port. After digging around, I found an article that explained how to change Central Administration port number using stsadm.exe . I was sure that there should be a way to do it using GUI and guess what, there is a way to do it from Central Admin Site. It is quite simple.

1. Open Central Administation Site, go to Manage web application -> Choose the web application and in the ribbon Click on the arrow below Delete web application. Choose Remove SharePoint from IIS web site.

2. In the pop up box, make sure the right IIS site is chosen and click Yes and OK.

3.Make sure its also deleted from IIS.

4.In the Central Admin Site. click on the site again and now click on Extend in ribbon.

5. Fill in the details with the required port number and click OK.

 

Thats it!... now your web application is available on a new port number.

Comments

  • Anonymous
    March 04, 2012
    Thanx for rare but useful information!

  • Anonymous
    March 31, 2012
    The post is absolutely fantastic! Lots of great information and inspiration, both of which we all need! Also like to admire the time and effort you put into your blog and detailed information you offer. <a href="http://www.highersite.com">Web Application Development Boston</a>

  • Anonymous
    August 13, 2012
    Never delete the original IIS site if you are dealing with an existing production site. It will break up so many things like the client scripts, sharepoint designer etc..just extend it to the required port..

  • Anonymous
    November 29, 2012
    Set-SPCentralAdministration -Port <PortNumber> From TechNet: technet.microsoft.com/.../cc288247(v=office.14).aspx

  • Anonymous
    December 31, 2012
    Thank you so much for providing a Great page with great information. I have one question if something does not work in production site then what are the steps to Roll back ? Please suggest .

  • Anonymous
    November 20, 2013
    there is no match between the title and the body of the blog. I dont know how to change the port without deleting the site but I am sure that this is not the proper way of doing it..

  • Anonymous
    March 26, 2014
    Two things...GB...that is for Central Administration...not the same as a regular SharePoint site. And contrary to the post above, this is the proper way of doing it.  The reasoning is this lets SharePoint delete and create the site on the desired port, so if a new WFE is added or if web services are moved to another server in the farm, these changes will be reflected.  It can be done in IIS directly as well, but then the changes become manual on any new servers.  The general rule is to do it through SharePoint so the config database has the current changes.  SharePoint is ignorant of any changes made outside of SharePoint tools (i.e. changes made directly in IIS Manager).

  • Anonymous
    December 21, 2015
    Thanks.