How to update website Under IIS

11 mesi tempo fa
When I have to update the website / move files from publish folder I have to stop the website and replace this take the site offline.
Am I doing it wrong if so, what is the correct approach?
11 mesi tempo fa
You can also...
First upload your files, and then in Administration click the gear icon (in upper right corner), and select "Restart application"
11 mesi tempo fa
But it won’t let me replace files saying file in use unless I turn site and application pool off in IIS
11 mesi tempo fa
Turn on the Store Closed setting
Stop the Webserver and upload
Then restart the Webserver
Check the website is working correctly
Turn off the Store Closed setting
11 mesi tempo fa
Will see if it works.
11 mesi tempo fa
Another way is to create a new site, new folder where you upload new files and test it first locally, then you just swap the domain mapping, i.e. remove domain from older IIS site and map it to new IIS site. There will be still down time, but it will be considerably lesser.
11 mesi tempo fa
Wow a bit surprised that no way without downtime. And folder has millions of images so copy pasting that is out of the question for me.