I posted a new version of the project by clicking the "Publish" button (Web deploy). But the site refused to start with error 502 ... Now the site is not being visited and is under development, and I want to know for the future how you can instantly roll back to the working version (in this case, the previous one) to deal with the problem.
How can I roll back the publication version ??
How to test before final publication? It is necessary to create an additional server (for example, openwork, I checked, by the way, it works for openwork, unlike my server ...) or can I test it in the same place but in "developer mode"?