Host a WordPress site with amazon Lightsail and map the domain from a third-party registrar to it

Overview
Amazon Lightsail is the easiest way to get started with Amazon Web Services (AWS) for developers, small businesses, students, and other users. Lightsail provides developers compute, storage, and networking capacity and capabilities to deploy and manage websites and web applications in the cloud. Lightsail includes everything you need to launch your project quickly – virtual machines, containers, databases, CDN, load balancers, DNS management, etc. – for a low, predictable monthly price.
Pricing
Now let us launch the WordPress site in Lightsail
Step1: Open Lightsail and create an instance
you can click "Let's get started" or click on "Create instance" if you got another Dashboard
You can choose the nearest AZ or region to you and Choose Linux/Unix as the platform
I have chosen the first one because it is included in the free tier
Step2: Connect to your instance via SSH and get the password for your WordPress website
cat bitnami_application_password
Step3: Create a static IP address and attach it to your WordPress instance

Step4: Sign in to the admin dashboard of your WordPress website
YourStaticIP/wp-login.php
3.108.145.55/wp-login.php
Step5: Mapping static IP to a custom domain
Note: I have used a domain from Namecheap you can purchase it from route53 or any third-party domain registrar
Note: It might take up to 48 to update the nameservers but if you are using route53 the process is fast.
leave the record name empty, Choose Record type to A, and on Value paste the Static IP. I have chosen a simple routing policy but you can use it according to your requirements
#Thank You
About the author
Cloud Engineer | AWS Community Builder
Comments
Join the discussionNo comments yet. Be the first to comment.






