htcz Posted April 16, 2012 Share Posted April 16, 2012 Hey Does anyone know how to move a local Magento installation to a shared location? Ive tried but I cant seem to get some things to work (such as content layout and such...) Thank you! Link to comment Share on other sites More sharing options...
StanJones Posted April 19, 2012 Share Posted April 19, 2012 I'm a bit confused, are you trying to move the installation from a local environment to a server environment ? Though if you have a hosting account with a service provider offering manager services, you may ask their support department to do it for you. But if they don't offer manager services, following are steps that you can follow : Decrease the TTL settings for your domain name to maybe 500-600 seconds (10 minutes). This can help you reduce the time taken for switching nameservers (NS records) or A records Ensure that no updates are made to the website until the migration is complete Backup your Magento installation over your local machine Backup the database from phpMyAdmin and navigating to Export page to create SQL dump. Backup the app/etc/local.xml as it holds the necessary details about database connections Upload all this to the new location over the server Do every necessary upgrade to Magento version and PHP version Now after loggin into the system, import the database using the phpMyAdmin tool In phpMyAdmin, update your Base URL Login to phpMyAdmin, navigate to the core_config_data table, and change the values of the fields with 'web/unsecure/base_url' and 'web/secure/base_url' path Edit the app/etc/local.xml file by entering correct database connection details saved earlier and replace everything with the new details. Hope this helps. Link to comment Share on other sites More sharing options...
mbowman Posted April 19, 2012 Share Posted April 19, 2012 shared location might not affect you as it depends on your hosting company but when I ran Magento for a client on a shared web hosting I had the hosting company asking me to try and reduce the CPU usage of the site or they would disable my account. just something to watch out for. Link to comment Share on other sites More sharing options...
Recommended Posts