Hosting Website on Light Sail and Namecheap
Last updated
Last updated
Log into AWS Management Console: Access the Lightsail dashboard.
Create an Instance: Choose the Create instance
option. Select Linux/Unix
as the platform, and WordPress
as the blueprint.
Choose Your Instance Plan: Select a plan that fits your needs.
Name Your Instance: Give your instance a unique name for identification.
Create and Wait: Click Create instance
. It might take a few minutes for your instance to be up and running.
Navigate to the Networking Tab: In the Lightsail dashboard, find the Networking tab.
Create a Static IP: Assign it to your WordPress instance. This ensures your IP address remains constant, even if you stop and start your instance.
Log into Namecheap: Access your account and go to the dashboard.
Find Your Domain: Navigate to the domain list and click on the domain you want to use.
Manage DNS Settings: Look for the DNS or Domain settings and select Manage
.
Add A Record: You need to add an A Record to point to your Lightsail instance’s static IP.
Type: A Record
Host: @
(for the root domain) or www
if you want to direct a subdomain.
Value: Enter the static IP address of your Lightsail instance.
TTL (Time to Live): Set this according to your preference, but the default is typically fine.
If your WordPress site URL needs to be updated to the new domain, follow these steps:
Log into WordPress Admin: Navigate to your WordPress site by entering the public IP address of your Lightsail instance.
Update Settings: Go to Settings
> General
.
Change WordPress Address and Site Address: Update these to your new domain name.
Save Changes.
SSL Certificate: Consider setting up an SSL certificate for your domain to secure your WordPress site. AWS Certificate Manager (ACM) offers free certificates, but these can't be directly used with Lightsail. Instead, consider using Let's Encrypt for a free SSL certificate.
Backup and Monitoring: Set up backups and monitoring within Lightsail to safeguard your data and ensure performance.