AWS Lightsail Instance + Wordpress

0

Hi!

I have an AWS Lightsail Instance with Wordpress serving a website with a registered domain via a distribution with Static IP. That is all working fine. The problem is that now I want to use Wordpress to change the /var/www/my-domain with my site and access to www.my-domain.com/wp-admin is getting me 404.

I've changed the wp-config.php according to the documentation adding both WP_HOME and WP_SITEURL pointing at my domain but when I tried to restart apache with the command on the documentation:

sudo /opt/bitnami/ctlscript.sh restart apache

It says that Failed to restart apache.

So I guess something got wrongly configured so I can not access my wordpress dashboard to work on my site.

Could you please help with this?

Thanks

  • to change the /var/www/my-domain with my site and access to www.my-domain.com/wp-admin is getting me 404

    Do you mean you're trying to change the default directory for WordPress content from /opt/bitnami/wordpress/wp-config.php to /var/www/my-domain?

    Bitnami images are configured to work with certain default paths. You are more likely to get the expected results if you keep those paths.

asked 8 months ago272 views
2 Answers
0

If your goal is to import content from another WordPress instance, you may find this guide useful: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/migrate-your-wordpress-blog-to-amazon-lightsail

AWS
MODERATOR
answered 8 months ago
0

im inthe same case, when i put www.my-domain.com/wp-admin can access to anything and i dont knwo what i have to do

answered 7 months 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.

Guidelines for Answering Questions