Skip to content

Migrated Wordpress files in a panel on Lightsail

0

I migrated Wordpress files in onto a Cpanel on Lightsail, then created database and imported old database. I have amended the files to reflect the database, yet when I go to the IP address, I get " "If you are the owner of this website, please contact your hosting provider: It is possible you have reached this page because...:" I can't seem to figure out the cause of this issue. Ive tried everything.

asked 2 years ago280 views
1 Answer
0

Here are a few steps you can take to troubleshoot and hopefully resolve this:

  1. Check DNS and Domain Configuration: Ensure that your domain is correctly pointing to your Lightsail IP address. If you're using a domain name, double-check the DNS settings.

  2. Verify Apache/Nginx Configuration: If you’re using Apache or Nginx, make sure the server configuration files are properly set up to serve your WordPress site. Look for any errors in the configuration files and ensure the document root is pointing to the correct directory where your WordPress files are located.

  3. Update WordPress Configuration: Double-check your wp-config.php file to ensure all database details (DB_NAME, DB_USER, DB_PASSWORD, DB_HOST) are correct and correspond to your newly created database.

  4. File Permissions: Ensure that your WordPress files and directories have the correct permissions. Typically, directories should be 755 and files should be 644.

  5. Check Error Logs: Look at the error logs in your Cpanel or Lightsail instance. The logs can provide specific details about what’s going wrong, which can be crucial for troubleshooting.

  6. Restart the Server: Sometimes, simply restarting your web server (Apache/Nginx) or the Lightsail instance itself can resolve configuration issues.

  7. Firewall/Security Group Settings: Make sure that the Lightsail instance's firewall and any associated security groups allow HTTP/HTTPS traffic.

answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.