Wednesday, April 20, 2011

How to change web application port number in sharepoint 2010?

assalam alikom warahmat allah wabrakatoh
    I searched many times for how to change the port of a sharepoint site after create it, i just found an articles about how to change the "Centeral Administration" port with the (stsam.exe).
So i try to find a solution by my self, and after a while, i found a simple solution as following

1- first open "Centeral Administration" ----> "Manage web applications"
    then select the site which you want to change the port for it, after that go up left and click the small arrow of delete button it'll open a menu, choose "Remove sharepoint from iis web site" - {Image 1-1}

image 1-1

2- it'll open a popup box, choose your site from the drop-down-menu and choose "Yes" for (delete iis web sites) - {Image 1-2}

Image 1-2

3- if you go to your IIS manger you'll not find the site now {Image 2}

Image 2

4- Now we need to re-add our site with the new Port.
     From the same position, choose your site again then go up left and click "Extend" button - {image 3}

Image 3

5- now a new popup window will appear, choose "Create a new iis web site" and add your new "Port" - {Image 4}

image 4

6- Enjoy now a new port for your website - {Image 5}

Image 5


Anonymous said...

Great post! Very helpful. Thank you!

Anonymous said...

Аω, this was a rеally nice post. Taκing the timе аnd аctual effort to genеrаte a great article… but whаt сan I saу…
I рut things off a lot and neѵer mаnаge tο get nеarlу anуthing done.
Review my website -

Mark Dininio said...

Thanks! Saved me tons of time.

SharePoint Adam said...

Deleting IIS site will make you loose all your customizations including web.config changes. So Don't do it!

There is an easiest way to change SharePoint Web Application Port by updating IIS bindings and Alternate Access Mappings from here: How to Change Sharepoint Web Application Port

awed1 said...

God's peace to you guys. This post helped me. I had a new Sharepoint site that was interfereing with my company web (both defaulted to port 80). So I didn't care about customizations etc. The fix was good because I didn't have to turn the Sharepoint site on to make the change and because I hadn't made any customizations yet. I liked Salaudeen's method also and would have used it if I had anything to save or if I would have wanted to stop my company web for the interim. Jesus is the Lord and He will set you free from sin and death if you would repent and entrust yourself fully to Him - No one else can set you free. See this site or ones like it:

Shirley Schmidt said...

Thanks for the post. Helpful it is. However, recently only I have signed up for a free SharePoint 2013 site with

Anonymous said...

Hello everybody, here every person is sharing such experience,
so it's fastidious to read this blog, and I used to go to see this weblog

my webpage ... Louis Vuitton Outlet Store

Anonymous said...

I simply could not go away your website prior to
suggesting that I extremely loved the usual information an individual provide in your visitors?
Is gonna be back steadily in order to check up on new posts

Stop by my webpage - Christian Louboutin Sale