Sometimes, after making modifications to your web store, you may notice that some web site functions stop working. Let us review how to restore access to the Magento admin panel after error 503 and transferring your site to a new hosting server.
What should be done after error 503 occurred?
Error 503 is a critical server error. If it happens you will see the following error message:
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
Before making any premature conclusions and trying to restart the server or search for the problem, answer a few questions:
1. Have you changed your internet browser?
2. Have you cleaned your cache and browsing history recently?
3. Do you use a different computer?
If the answer to at least one question is ‘yes’ then this may be a reason of the problem. The errors like 500 or 503 etc. often happen if you work with Mozilla Firefox browser which may not always accept and transfer data correctly. Try to access your admin panel using another browser, e.g. Google Chrome.
Try to regularly clean cache and cookies in your browser as it may not allow you view some sites or pages due to their cached copies and even slow down your computer. You can use a free program CoClever, it is very convenient for cleaning unnecessary files from your hard drives.
The problem is a little more difficult to solve if the computer was changed and the old one is already unavailable. You will have to do some work about the databases and root catalogs.
If any of these actions do not resolve the problem and you are still unable to access your admin panel, use the following instruction: on your hosting server, go to the root directory of your web store and find the file called maintenance.flag. This file should only contain one word. In order to restore normal functionality of Magento admin panel you need to erase the file content and save the changes.
maintenance.flag is a file automatically created by Magento eCommerce Platform in order to save and protect the data when some server malfunction happens. Other CMS do not usually provide such feature although it is very convenient.
Not able to access your admin panel after hosting server change?
You will need to access phpMyAdmin and find the database table called core_config_data. The database configuration settings are located there. In order to adjust them to the new hosting space you need to change the lines
to the ones appropriate for the new server. Then save the changes and try to access your admin panel again.
Please note that all work related to correction of access errors should be performed by the chief administrator. Just do not forget to backup all data before starting any work.
After all changes are done always clean var/cache to prevent your store from looking for the old pages and paths. If you have any issues with restoring access to your Magento admin panel, you may use the service of GoMage specialists. Please also share your thoughts and experience on resolving this problem in the comments.