Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Thu Nov 17, 2011 6:28 pm 
Offline
Senior Newbie

Joined: Thu Nov 17, 2011 6:20 pm
Posts: 7
Hi all, I currently have shared hosting from Hostgator for a really small Wordpress blog. I'm looking to use Linode to host a large side project under a different domain, and I want to migrate my blog to Linode as well. The side project and blog will be under two separate domains.

In Hostgator, I have a Wordpress blog set up with Apache. When I start using Linode, I plan to install nginx.

My question is: given that I want to migrate from using Apache on Hostgator to nginx on Linode, how should I migrate my Wordpress site?


Top
   
 Post subject:
PostPosted: Thu Nov 17, 2011 7:07 pm 
Offline
Senior Member

Joined: Fri May 02, 2008 8:44 pm
Posts: 1121
Copy your site over, and tweak the copy until it works. Once you're sure that it works, point the domain at your Linode.

The primary difference between Apache and nginx, as far as WordPress is concerned, is that nginx doesn't recognize .htaccess files. You'll have to translate whatever you have in those files into nginx configuration. Most of it is just one Google search away, but some add-ons might take a bit more work.


Top
   
PostPosted: Fri Nov 18, 2011 1:09 pm 
Offline
Senior Newbie

Joined: Fri Nov 18, 2011 1:02 pm
Posts: 9
Website: http://www.saigonnezumi.com
Yahoo Messenger: amerasiankevin
AOL: amerasiankevin
Location: HCMC, Vietnam
aless wrote:
My question is: given that I want to migrate from using Apache on Hostgator to nginx on Linode, how should I migrate my Wordpress site?


I had several WordPress sites with Bluehost. I just zipped my entire WordPress folder. If you use the WP-DB-Backup plugin, you should have a copy of your SQL in that folder already [wp-uploads/backup]. Once I got my CentOS LEMP stack running, I just wget the files from Bluehost to my account. You can import your SQL with the following command:

Code:
mysql -uUSERNAME -pPASSWORD DATABASENAME < MYDATABASE.sql


PacktBooks have two really good Nginx books with sections about installing WordPress including the rewrite rules.

_________________
One of the very few Americans who travelled the world and can communicate in 7 languages.


Top
   
PostPosted: Fri Nov 18, 2011 1:10 pm 
Offline
Senior Newbie

Joined: Fri Nov 18, 2011 1:02 pm
Posts: 9
Website: http://www.saigonnezumi.com
Yahoo Messenger: amerasiankevin
AOL: amerasiankevin
Location: HCMC, Vietnam
Sorry for the duplication. Late night here.

_________________
One of the very few Americans who travelled the world and can communicate in 7 languages.


Top
   
 Post subject:
PostPosted: Sat Nov 19, 2011 10:41 pm 
Offline
Senior Newbie

Joined: Thu Nov 17, 2011 6:20 pm
Posts: 7
Thank you for the suggestions!


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group