Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I was wondering what the best way of minimising disruption to a website caused when major changes may introduce bugs.

For example, does anyone do this:

/site_files_1/...current build... /site_files_2/...new build...

where the site root is redirected to the site_files_1 directory, than after uploading new versions of files to the site_files_2 directory, and testing, the site root is now redirected to this direcotry. So if major problems arise which were missed during the testing phase, the site root can be redirected back to the site_files_1 directory.

Thanks.

share|improve this question

2 Answers 2

change the apache host config file and restart apache maybe? Or is the site smart enough to find out itself that it's broken?

share|improve this answer

If you have a Load Balanced site with multiple nodes each individually capable of supporting your full capacity one way to do this is to upgrade a single node at a time. Once you have upgraded the first node you can place it into production and hold for a specified period of time before upgrading other nodes. In the event of a bug or other issue you can simply roll back. This solution is not possible for all applications/and configurations however load balancers can make fail over between nodes much, much easier.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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