Skip to content

Lightsail: setup a wordpress site

0

I need to set up a WordPress website and have it pointed to one of my subdomains. Each time I run through the wizard I cannot get past Step 5 - Create an SSL/TLS certificate.

Setup your Wordpress Website

Error on Step 5

How do I resolve this issue?

asked a year ago134 views
3 Answers
1

To resolve the issue you're experiencing with setting up a WordPress site on Lightsail and creating an SSL/TLS certificate, there are a few potential solutions:

  1. DNS Configuration: Ensure that your DNS records (A or AAAA) are correctly configured and point to the public IP address of your Lightsail instance. Sometimes, DNS changes can take time to propagate, so you may need to wait a bit before retrying.

  2. Instance Version: If you're using an older WordPress instance, it may contain incompatible software and dependencies that prevent the HTTPS certificate from being generated. In this case, you should create a new WordPress instance from the Lightsail console and migrate your existing website to the new instance.

  3. Firewall Settings: Verify that your instance's firewall allows TCP connections over ports 22, 80, and 443. You may need to add or edit the IPv4 and IPv6 firewall rules to allow these connections.

  4. Certificate Limits: Check if you've reached the Let's Encrypt certificate limit for your domain. Let's Encrypt has a rate limit of 5 certificates per domain within a week. If you've hit this limit, you'll need to wait one week (168 hours) before attempting to create a new certificate.

  5. Instance State: Ensure your instance is in a "Running" state and that you haven't made any changes to it during the setup process.

  6. Port Availability: Make sure no other processes are using port 80 on your instance while the HTTPS certificate is being configured. If necessary, restart your WordPress instance and terminate any processes running on port 80.

If you've verified these points and are still encountering issues, you may want to try running the setup workflow again after some time has passed. If problems persist, consider creating a new WordPress instance and migrating your content to ensure you're working with the most up-to-date and compatible version.

Sources
Resolve WordPress setup errors on Lightsail - Amazon Lightsail
Launch and configure WordPress on Lightsail - Amazon Lightsail
Troubleshoot WordPress setup issues on Lightsail instances - Amazon Lightsail
Troubleshooting WordPress setup failures in Lightsail - Amazon Lightsail

answered a year ago
EXPERT
reviewed a year ago
1

Hello.

Is the DNS record you are trying to create a certificate for registered in your DNS zone?
If it is registered, is it possible to resolve the name using the "dig" command?
If name resolution cannot be performed, a certificate cannot be issued.
https://repost.aws/questions/QUskS0v5FYQLG8XBTLVZ7-Kg/error-with-lightsail-ssl-tls#ANzHDeJqYYQPinHGZql2jbSw

EXPERT
answered a year ago
EXPERT
reviewed a year ago
0

Yes, the dig command returns the IP address configured in my hosted zone.

answered a year 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.