{"id":4405,"date":"2017-12-29T03:58:07","date_gmt":"2017-12-29T03:58:07","guid":{"rendered":"http:\/\/www.scmgalaxy.com\/tutorials\/?p=4405"},"modified":"2021-02-27T09:15:32","modified_gmt":"2021-02-27T09:15:32","slug":"how-to-move-magento-shop-to-another-server","status":"publish","type":"post","link":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-move-magento-shop-to-another-server\/","title":{"rendered":"How to move magento shop to another server"},"content":{"rendered":"<p>The following procedure describes the\u00a0<strong>basic needs<\/strong>\u00a0for\u00a0<strong>moving your magento-shop<\/strong>\u00a0to another server. There might be additional things to consider (changing domains, DNS, PHP-Configuration, tools &amp; programms on your server) which need to take care of on your own.<\/p>\n<p><strong>1. Backup files<\/strong>\u00a0in your Magento directory on your old server:<\/p>\n<p>You might empty your var\/cache, var\/session, var\/report and var\/log directory first to save space and speed up the backup<\/p>\n<p><strong>2. Create a database dump<\/strong>\u00a0on your old server:<\/p>\n<p>Use phpMyAdmin, Chive or via console with mysqldump, n98-magerun<\/p>\n<p><strong>3. Set up directory structure<\/strong>\u00a0for files and create database + user on your new server<\/p>\n<p><strong>4. Move files and database dump<\/strong>\u00a0to your new server: via FTP, SSH,&#8230;<\/p>\n<p><strong>5. Extract file-backup<\/strong>\u00a0to your new magento directory<\/p>\n<p><strong>6. Check and set file-permissions<\/strong><\/p>\n<p>Usually 644 for files and 755 for folders.<\/p>\n<p>See also this question for more information:\u00a0<a href=\"https:\/\/magento.stackexchange.com\/questions\/12158\/what-permissions-should-i-give-var-and-media\">What permissions should I give \/var and \/media?<\/a><\/p>\n<p><strong>7. Import database-dump<\/strong>\u00a0on your new server:<\/p>\n<p>Use phpMyAdmin, Chive or via console with mysql, n98-magerun<\/p>\n<p><strong>8. Update new database-settings<\/strong>\u00a0in app\/etc\/local.xml<\/p>\n<p><strong>9. Update URLs<\/strong>\u00a0in core_config_data:<\/p>\n<p>You can edit the base_url via Web-Frontend (phpMyAdmin, Chive,&#8230;) or use these SQL-statements. You might need to edit the urls for your stores also.<\/p>\n<p>Look for\u00a0<code>path =\"web\/unsecure\/base_url\"<\/code>\u00a0and\u00a0<code>path=\"web\/secure\/base_url\"<\/code>\u00a0in the\u00a0<code>core_config_data<\/code>\u00a0table.<\/p>\n<p><strong>10. Empty var\/cache, var\/session, var\/report, var\/log<\/strong>\u00a0(if you did not do that before you created the backup on the old server)<\/p>\n<p><strong>11. Reindex your data<\/strong>: catalog url rewrites<\/p>\n<p><strong>12. Enjoy your beer!<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p>Reference<\/p>\n<p><a href=\"https:\/\/magento.stackexchange.com\/questions\/22120\/how-to-move-magento-shop-to-another-server\">magento <\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The following procedure describes the\u00a0basic needs\u00a0for\u00a0moving your magento-shop\u00a0to another server. There might be additional things to consider (changing domains, DNS, [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_joinchat":[],"footnotes":""},"categories":[4207],"tags":[4208],"class_list":["post-4405","post","type-post","status-publish","format-standard","hentry","category-magento","tag-magento"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to move magento shop to another server - scmGalaxy<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-move-magento-shop-to-another-server\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to move magento shop to another server - scmGalaxy\" \/>\n<meta property=\"og:description\" content=\"The following procedure describes the\u00a0basic needs\u00a0for\u00a0moving your magento-shop\u00a0to another server. There might be additional things to consider (changing domains, DNS, [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-move-magento-shop-to-another-server\/\" \/>\n<meta property=\"og:site_name\" content=\"scmGalaxy\" \/>\n<meta property=\"article:published_time\" content=\"2017-12-29T03:58:07+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-02-27T09:15:32+00:00\" \/>\n<meta name=\"author\" content=\"scmgalaxy K\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"scmgalaxy K\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-move-magento-shop-to-another-server\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-move-magento-shop-to-another-server\\\/\"},\"author\":{\"name\":\"scmgalaxy K\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/fc12ad190f540e79460243c81148d102\"},\"headline\":\"How to move magento shop to another server\",\"datePublished\":\"2017-12-29T03:58:07+00:00\",\"dateModified\":\"2021-02-27T09:15:32+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-move-magento-shop-to-another-server\\\/\"},\"wordCount\":254,\"commentCount\":0,\"keywords\":[\"magento\"],\"articleSection\":[\"magento\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-move-magento-shop-to-another-server\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-move-magento-shop-to-another-server\\\/\",\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-move-magento-shop-to-another-server\\\/\",\"name\":\"How to move magento shop to another server - scmGalaxy\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#website\"},\"datePublished\":\"2017-12-29T03:58:07+00:00\",\"dateModified\":\"2021-02-27T09:15:32+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/fc12ad190f540e79460243c81148d102\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-move-magento-shop-to-another-server\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-move-magento-shop-to-another-server\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-move-magento-shop-to-another-server\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to move magento shop to another server\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#website\",\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/\",\"name\":\"scmGalaxy\",\"description\":\"A Platform for Software Engineers\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/fc12ad190f540e79460243c81148d102\",\"name\":\"scmgalaxy K\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4b902ea8c77ee0a326c112f29d0edf51b7c3e1cd05c4fb92a810177e9c3f12a9?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4b902ea8c77ee0a326c112f29d0edf51b7c3e1cd05c4fb92a810177e9c3f12a9?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4b902ea8c77ee0a326c112f29d0edf51b7c3e1cd05c4fb92a810177e9c3f12a9?s=96&d=mm&r=g\",\"caption\":\"scmgalaxy K\"},\"sameAs\":[\"http:\\\/\\\/www.DevOpsSchool.com\"],\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/author\\\/scmgalaxy\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to move magento shop to another server - scmGalaxy","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-move-magento-shop-to-another-server\/","og_locale":"en_US","og_type":"article","og_title":"How to move magento shop to another server - scmGalaxy","og_description":"The following procedure describes the\u00a0basic needs\u00a0for\u00a0moving your magento-shop\u00a0to another server. There might be additional things to consider (changing domains, DNS, [&hellip;]","og_url":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-move-magento-shop-to-another-server\/","og_site_name":"scmGalaxy","article_published_time":"2017-12-29T03:58:07+00:00","article_modified_time":"2021-02-27T09:15:32+00:00","author":"scmgalaxy K","twitter_card":"summary_large_image","twitter_misc":{"Written by":"scmgalaxy K","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-move-magento-shop-to-another-server\/#article","isPartOf":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-move-magento-shop-to-another-server\/"},"author":{"name":"scmgalaxy K","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/fc12ad190f540e79460243c81148d102"},"headline":"How to move magento shop to another server","datePublished":"2017-12-29T03:58:07+00:00","dateModified":"2021-02-27T09:15:32+00:00","mainEntityOfPage":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-move-magento-shop-to-another-server\/"},"wordCount":254,"commentCount":0,"keywords":["magento"],"articleSection":["magento"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.scmgalaxy.com\/tutorials\/how-to-move-magento-shop-to-another-server\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-move-magento-shop-to-another-server\/","url":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-move-magento-shop-to-another-server\/","name":"How to move magento shop to another server - scmGalaxy","isPartOf":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#website"},"datePublished":"2017-12-29T03:58:07+00:00","dateModified":"2021-02-27T09:15:32+00:00","author":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/fc12ad190f540e79460243c81148d102"},"breadcrumb":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-move-magento-shop-to-another-server\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.scmgalaxy.com\/tutorials\/how-to-move-magento-shop-to-another-server\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-move-magento-shop-to-another-server\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.scmgalaxy.com\/tutorials\/"},{"@type":"ListItem","position":2,"name":"How to move magento shop to another server"}]},{"@type":"WebSite","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#website","url":"https:\/\/www.scmgalaxy.com\/tutorials\/","name":"scmGalaxy","description":"A Platform for Software Engineers","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.scmgalaxy.com\/tutorials\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/fc12ad190f540e79460243c81148d102","name":"scmgalaxy K","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/4b902ea8c77ee0a326c112f29d0edf51b7c3e1cd05c4fb92a810177e9c3f12a9?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/4b902ea8c77ee0a326c112f29d0edf51b7c3e1cd05c4fb92a810177e9c3f12a9?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4b902ea8c77ee0a326c112f29d0edf51b7c3e1cd05c4fb92a810177e9c3f12a9?s=96&d=mm&r=g","caption":"scmgalaxy K"},"sameAs":["http:\/\/www.DevOpsSchool.com"],"url":"https:\/\/www.scmgalaxy.com\/tutorials\/author\/scmgalaxy\/"}]}},"_links":{"self":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/4405","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/comments?post=4405"}],"version-history":[{"count":2,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/4405\/revisions"}],"predecessor-version":[{"id":4407,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/4405\/revisions\/4407"}],"wp:attachment":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/media?parent=4405"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/categories?post=4405"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/tags?post=4405"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}