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 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南