Jump to content

Getting up and running from a backup


esn024

Recommended Posts

Hi everyone,

 

My previous web-host stopped functioning entirely, so I am trying to set up from a backup rather than an active site. I'm getting stuck over what I'm sure are the bare basics of site migration.

 

My old site ran on WordPress. I've restored the database from a .sql backup file

I've transferred everything that used to be in htdocs (which included

wp-admin, wp-content, wp-includes folders and php files) into the public_html folder.

The php pages show a 500 Internal Server Error message if I try to load them.

What am I missing?

 

Any help would be much appreciated.

 

UPDATE: I have things partially working now.

wp-config.php needed to be updated with the new server, database, username and password

I've also changed file and folder permissions to 644 and 755 respectively - which is weird because they had more permissions before?

I still have to go through all the subfolder/file permissions, which might fix the remaining issues. If not, I will update or post again.

 

UPDATE 2: I have been all the way through the wp folders and subfolders now, and permissions on all folders have been changed to 755 and permissions on all other files in those folders are 644, so everything should be accessible, but only the text of the page is loading, no formatting or images. Any ideas?

http://thebrooksreflections.heliohost.org/

 

Edited by esn024
Link to comment
Share on other sites

In the database there's full urls to your site and images. It's expecting the images to be at a domain called thebrooksreflections.com, but your domain is thebrooksreflections.heliohost.org.

 

If you own that domain, you need to change its name servers to NS1.heliohost.org and ns2.heliohost.org at your registrar, then add it to cpanel under Aliases.

 

If you don't own that domain or no longer plan to use it. you'll need to edit these values in your database with something like phpmyadmin to get your site working.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...