Restoring WordPress EC2 instance from snapshot results in 403 Forbidden error

Posted by Eric Matthew Turano on Server Fault See other posts from Server Fault or by Eric Matthew Turano
Published on 2013-10-07T21:35:52Z Indexed on 2013/11/04 3:57 UTC
Read the original article Hit count: 488

Filed under:
|
|

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?

© Server Fault or respective owner

Related posts about linux

Related posts about amazon-s3