Restoring WordPress EC2 instance from snapshot results in 403 Forbidden error
- by Eric Matthew Turano
This problem has been perplexing me for weeks now. Here's how the issue goes:
Launch Amazon Linux 64-bit instance, successfully install WordPress, and site is active w/ no issues
Create snapshot of the instance's root volume
Shut down instance
Create volume from snapshot, attach to instance, and reboot instance
Associate Elastic IP with instance
Once that's done and I try logging onto the site, I am redirected to myurl.com/wp-admin/install.php and greeted with this message:
Forbidden: You don't have permission to access /wp-admin/install.php
on this server. Apache/2.2.25 (Amazon) Server at www.myurl.com Port 80
Port 80 is open on the inbound security group settings, so that's not the issue. Keep in mind all I am doing is merely creating a new volume and attaching it to the same instance, and this issue comes up.
What am I doing wrong, and how can I create a complete backup of my instance without this error occuring?