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.

gefragt vor 8 Monaten289 Aufrufe
2 Antworten
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
beantwortet vor 8 Monaten
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

beantwortet vor 8 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen