I creatse wordpress website, but I cannot login through wp-admin (Not LightSail)


I created wordpress website using EC2 and I follow the guide the below links: https://docs.aws.amazon.com/ko_kr/AWSEC2/latest/UserGuide/hosting-wordpress-aml-2023.html

And, I created EC2 instance by following the guide: https://docs.aws.amazon.com/ko_kr/AWSEC2/latest/UserGuide/ec2-lamp-amazon-linux-2023.html

I also created Amazon Certificate Manager.

However, my wordpress website looks weird.


Also, whenever I try to login, the browser said "The secure connection to this site is not perfect.".

I still don't know how to solve this problem. Please help me!

3 Answers


It appears that the CSS is not loading properly.
Please check Chrome's developer tools to see what errors you are seeing.
Also check the Apache access log and error log.
Apache access logs and error logs are located in the directory "/var/log/httpd/".

Is there an ALB in front of EC2?
In this case, it is possible that the DNS name of EC2 is referenced when loading CSS from WordPress, so try changing it to the correct website domain by following the instructions in the following document.

profile picture
answered 8 months ago

What error do you receive when you cannot log in on the wp-admin page? You may want to try an alternative guide on how to launch a WordPress website with Amazon EC2.

answered 8 months ago

Since you are able to update database as per Wordpress website not launching properly to fix content loading issue, you can also reset your password in the database.

Refer to Rest your password. If I recall correctly, there is a wp_users table, and if you set user_pass to empty string, it means blank password.

answered 8 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