How To Enable HTTPS In AWS Lightsail WordPress Instance?

How To Enable HTTPS In AWS Lightsail WordPress Instance?

How To Enable HTTPS In AWS Lightsail WordPress Instance?

Hello Everyone

Welcome to CloudAffaire and this is Debjeet.

Today we are going to discuss how to enable https communication in your WordPress website hosted with AWS Lightsail. You can use free TSL certificate providers like Lets encrypt to enable HTTPS in your WordPress website hosted in AWS Lightsail.

How To Enable HTTPS In AWS Lightsail WordPress Instance?

Prerequisites:

A WordPress Website Hosted In AWS Lightsail

Step 1: Login to AWS management console.

https://aws.amazon.com/

Step 2: Create a DNS CNAME record for www.<domain_name>.<TLD> against your <domain_name>.<TLD>.

For example, domain name used in this demo is techaffaire.com and we want user to navigate to our website using either https://techaffaire.com or https://www.techaffaire.com and want the SSL valid for both the domain name (techaffaire.com) and sub-domain name (www.techaffaire.com). Also, if you want to use any other sub-domain like https://contact.techaffaire.com , you need to create a CNAME for each of the sub-domain. We are using AWS Route53 as the domain registrar, but the process is same for any other domain registrar like GoDaddy.

Navigate to Route53 service => Hosted Zone => Create record and create a CNAME record for each of the subdomains.

Today we are going to discuss how to enable https communication in your WordPress website hosted with AWS Lightsail.

Step 3: Navigate to Lightsail console.

Step 4: Connect to your Lightsail WordPress instance either through browser by clicking on the “command” icon or using SSH connection.

Step 5: Enable TSL for your Lightsail WordPress instance.

We have successfully enabled SSL to our WordPress website hosted in AWS Lightsail. Now if you browse to your domain, you will be able to connect using HTTPS.

Today we are going to discuss how to enable https communication in your WordPress website hosted with AWS Lightsail.

To get more details on Lightsail, please refer below official documentation.

https://lightsail.aws.amazon.com/ls/docs/en_us/all

Leave a Reply

Close Menu