Go to the AWS console -> search for Lightsail Services -> Click on create Instance
Then, click on the Wordpress Multisite with the Linux/Unix To, create multiple website in the same Instance we are creating the Multisite Instance, so we can deploy more than one domain on single Instance. In our case , I will be purchasing the three domains from freenom.com i.e. page1.ml, page5.ml, page7.ml
Out of these three domains, page1.ml will be the main domain
After creating, the Instance
Go to the Lightsail Networking -> and make the Instance IP public so that we can mention th static IP to three Domains in domain registerer that is freenom.com and Attach it to the Instance we have created
Now, browse the IP/wp-admin to the Browser and you will be able to see a wordpress login console
now generally we have the username as user and to get the password , connect the SSH of the lightsail instance and type the
and you will get the password to login
go to the Dashboard -> sites -> add new
add the wesites domain that you have purchased from the freenom
add the static IP to the DNS to connect
Now, we can check all the three Domains on the Browser and you will see that they are only using the http, not the https
so , now we will create the SSL for the domains
to create the certificate, connect the instance using the SSH and type
and it will ask you for the domain list, mention your domains seperated by the comma and it will ask that if you want it for www as well?
Now, visit the three wesites , they are working on the https.
All the three wesites are now secure.
Now the last step is
We need to create bucket with name “page7.ml”. we are redirecting the page7.ml at shruti2.tk
allow all the public access to the bucket
We need to step site redirection using “Static web hosting” feature of S3
and click on the Redirectin and mention you 2nd domain here. in our case, it is shruti2.tk
now paste the above link as CNAME in your DNS registerer, in our case it is , Route53 to redirect and click on the alias and connect the bucket that we have created "page7.ml"
Now, test the website is redirecting or not. If it is redirecting then it will show the
To renew the Certificate from let's encrypt
Let’s Encrypt uses the client Certbot to install, manage, and automatically renew the certificates they provide
If you have multiple certificates for different domains and you want to renew a specific certificate, use
The --force-renew flag tells Certbot to request a new certificate with the same domains as an existing certificate. The -d flag allows you renew certificates for multiple specific domains
To verify that the certificate renewed, run:
If the command returns no errors, the renewal was successfu
SUCCESFULL