1

I have created one SharePoint web application in SharePoint 2013 farm. And that web applications port number is conflicting with the port number of other non SharePoint point IIS site in the application pool of IIS Manager. So if I delete the SharePoint site will it delete all the IIS sites associated with the same port number in application pool. If yes what would be the way to delete the SharePoint web application along with its content database without deleting other IIS sites with same port number in application pool.

2

So if I delete the SharePoint site will it delete all the IIS sites associated with the same port number in application pool.

No, it's not related to the port it's related to the IIS site itself and its application pool.

but I think the deleting option is not a good solution especially if you already do some work in your web application, so it's recommended to change the port of the SharePoint web application rather than delete it.

The simple way to change the port number of the web application is to extend it to a new web application from central administration, then and provide the new port.

enter image description here

Now you have a new IIS site with a new port with the same content database, and you can now solve the issue of conflicting port easily, eg.by stopping the first SharePoint web application in IIS.

  • I don't have anything in that SharePoint site. And it is already in stopped form in IIS as I created it. So you mean to say I can also delete it without any worries. – Niranjan Kulkarni Feb 6 '17 at 12:00
  • 1
    yes, if you delete SharePoint web application from central administration and select delete related IIS and content database this will affect only the SharePoint IIS site in IIS and its related content database and not have any effect on any sites that use the same port. – Mohamed El-Qassas MVP Feb 6 '17 at 12:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.