Skip to main content

Posts

Showing posts with the label Change location path for SharePoint WebApplication

Change Location Path for SharePoint Web Application in IIS

When creating a new web application in SharePoint, you choose the physical location of where the IIS website will be created. Once the application is born, however, there is no longer an option to change this path in Central Administration. You can very easily change it in IIS (by going to your website’s Properties -> Home Directory -> Local Path), but once this is done, you will start running into trouble, as solution deployments will point to the web.config file at the old location. Three quick steps need taken to successfully move the web application: Copy the current directory’s contents into your new directory Make the change to the website’s local path in IIS (as described above) Update the SharePoint web application to point to the new path Note: If you have multiple servers in your farm, steps 1 and 2 will need made on each web server, but step 3 will only need done once. The third step can be done without having to extend the site. Here are a couple options....