{"id":6913,"date":"2016-04-25T01:55:12","date_gmt":"2016-04-25T05:55:12","guid":{"rendered":"http:\/\/nycphantom.com\/journal\/?p=6913"},"modified":"2016-04-25T01:55:34","modified_gmt":"2016-04-25T05:55:34","slug":"godaddy-linux-host-migration","status":"publish","type":"post","link":"http:\/\/nycphantom.com\/journal\/?p=6913","title":{"rendered":"Godaddy Linux Host Migration Due to Server Upgrade"},"content":{"rendered":"<p>Godaddy informed me about a month ago that they are upgrading their servers resulting in me having to migrate all my site manually myself. I've finally finished it during a trip to Boston with my wife.<\/p>\n<p>Procedures:<\/p>\n<p>Contacted Godaddy, had them create my new account on new host. They emailed me some basic steps, which are not sufficient and I had to google.<\/p>\n<p>In Godaddy File Manager:<br \/>\n- zipped all the files in chunks. Download them to my PC.<br \/>\n- Backup mysql files, I have two databases, one of which is probably useless (from older backup), WordPress only uses one 1 database. But I backed up both anyway.<br \/>\n- Cancel Old Hosting account via Web Hosting -&gt; Options -&gt; Cancel.<\/p>\n<p>Waited for 1 full day, then new account finally shows nycphantom.com is available under setup.<\/p>\n<p>Uploaded all zipped files. Extract them in Godaddy's File Manager.<\/p>\n<p>Attempted to use the new cPanel's database features (phpMyAdmin) to import my database (first create the exact same database name via MySQL Database Wizard with username\/password), Failed due to importing time out. File too large to import (&gt;140MB), even though it may have completed uploading.<\/p>\n<p>So I deleted the database\/username I created via the above method. And approach the issue via SSH.<\/p>\n<p>Uploaded my sql file to server.<\/p>\n<p>Enable SSH in cPanel -&gt; SSH ACCESS<\/p>\n<p>Logged into SSH, webhosting ip is the host. Godaddy username\/password.<\/p>\n<p>CD to the folder where my uploaded sql file resides.<\/p>\n<p><a href=\"https:\/\/www.webhostinghero.com\/import-large-databases-mysql\/\" target=\"_blank\">Typed<\/a>:\u00a0mysql -p -u newusername newdatabase &lt; dbname.sql<br \/>\nWhere I had to make sure the username matches the godaddy account, I think.<\/p>\n<p>Encountered another problem when loading WP. Followed the error trail and edited wp-config.php in my WP journal folder: I changed the username to godaddy's username and the HOST to localhost, which is the new cPanel standard in Godaddy.<\/p>\n<p>And it works now.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Godaddy informed me about a month ago that they are upgrading their servers resulting in me having to migrate all my site manually myself. I've finally finished it during a trip to Boston with my wife. Procedures: Contacted Godaddy, had &hellip; <a href=\"http:\/\/nycphantom.com\/journal\/?p=6913\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-6913","post","type-post","status-publish","format-standard","hentry","category-technical"],"_links":{"self":[{"href":"http:\/\/nycphantom.com\/journal\/index.php?rest_route=\/wp\/v2\/posts\/6913","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/nycphantom.com\/journal\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/nycphantom.com\/journal\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/nycphantom.com\/journal\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/nycphantom.com\/journal\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6913"}],"version-history":[{"count":2,"href":"http:\/\/nycphantom.com\/journal\/index.php?rest_route=\/wp\/v2\/posts\/6913\/revisions"}],"predecessor-version":[{"id":6915,"href":"http:\/\/nycphantom.com\/journal\/index.php?rest_route=\/wp\/v2\/posts\/6913\/revisions\/6915"}],"wp:attachment":[{"href":"http:\/\/nycphantom.com\/journal\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6913"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/nycphantom.com\/journal\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6913"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/nycphantom.com\/journal\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6913"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}