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.

已提问 8 个月前289 查看次数
2 回答
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
审核人员
已回答 8 个月前
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

已回答 8 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则