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

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ