📖
NOTES
  • Welcome!
  • Reference
    • Hacking
      • Penetration Testing Resources Bookmarks
        • Research Links
        • Cheat Sheet
        • Learning/Training
        • Tools
        • Payloads
        • Shell
        • AI
        • Reads
        • Podcast
        • Social Engineering
        • Payloads
      • Web/App Pentesting
        • SQL Injection
          • SQL Injection In The URL
          • SQL Injection In The Search Field
          • SQL Injection in Login forms
          • Boolean SQL Injection Blind
          • Time based SQL Injection Blind
          • Bypassing SQL Filters
          • SQL Injection with sqlmap
          • XPath Injection - Authentication Bypass
            • XPath Advanced Data Exfiltration
          • Payloads
        • XSS
          • Payloads
          • XSS Reflected
          • XSS Stored
          • Dom-based
          • Blind
        • Command Injection
          • Payloads
        • File Upload
          • Payloads
          • Bypass Filters
          • File Upload Tricks
        • SSRF
          • Payloads
        • LFI/RFI
          • Payloads
        • LDAP Injection
      • Port Swigger
        • Access control
          • Lab: Unprotected admin functionality
          • Unprotected admin functionality with unpredictable URL
          • User role controlled by request parameter
          • User ID controlled by request parameter, with unpredictable user IDs
          • User ID controlled by request parameter with password disclosure
        • Authentication
          • Username enumeration via different responses
        • Server-side request forgery (SSRF)
          • Basic SSRF against the local server
          • Basic SSRF against another back-end system
        • File Upload Vulnerabilities
          • Remote code execution via web shell upload
        • SQL Injection
          • SQL injection vulnerability in WHERE clause allowing retrieval of hidden data
      • Burp
        • Setting up Macro for intruder
      • ☁️Cloud
        • Tools
        • AWS
          • 🪣S3 Buckets
          • Amazon IAM
          • Dockers
            • Tools
        • Azure
        • GCP
      • Networking
        • Cheat Sheet
      • Hardware Hacking
        • Computer BIOS
    • HTML/CSS/JAVA
      • Tools
      • HTTP Response Status Codes
      • Bootstrap Templates
      • SSL
      • cURL
      • Grep
    • DataBase
      • My SQL
        • Cheat Sheet
        • Tools
    • PYTHON3
      • Code Resources
      • Python Reference Guide
        • Cheat Sheet
      • Code Projects
        • Jiggler Mouse
        • loan calculator
        • Bilnd LDAP Data Exfiltration
    • SEO
      • Tools
      • On-Page SEO
      • Local SEO and Keyword Research
      • Content Optimization
      • Technical SEO
      • Off-Page SEO Tools
      • Google Ads
    • Cloud
      • AWS
        • Light Sail
          • Hosting Website on Light Sail and Namecheap
        • Boto3
      • Azure
      • GCP
    • Files
      • PDF
Powered by GitBook
On this page
  • 1. Create a WordPress Instance on AWS Lightsail
  • 2. Set Up a Static IP for Your Lightsail Instance
  • 3. Update DNS Settings on Namecheap
  • 4. Update WordPress URL
  1. Reference
  2. Cloud
  3. AWS
  4. Light Sail

Hosting Website on Light Sail and Namecheap

PreviousLight SailNextBoto3

Last updated 1 year ago

1. Create a WordPress Instance on AWS Lightsail

  1. Log into AWS Management Console: Access the Lightsail dashboard.

  2. Create an Instance: Choose the Create instance option. Select Linux/Unix as the platform, and WordPress as the blueprint.

  3. Choose Your Instance Plan: Select a plan that fits your needs.

  4. Name Your Instance: Give your instance a unique name for identification.

  5. Create and Wait: Click Create instance. It might take a few minutes for your instance to be up and running.

2. Set Up a Static IP for Your Lightsail Instance

  1. Navigate to the Networking Tab: In the Lightsail dashboard, find the Networking tab.

  2. 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.

3. Update DNS Settings on Namecheap

  1. Log into Namecheap: Access your account and go to the dashboard.

  2. Find Your Domain: Navigate to the domain list and click on the domain you want to use.

  3. Manage DNS Settings: Look for the DNS or Domain settings and select Manage.

  4. 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.

4. Update WordPress URL

If your WordPress site URL needs to be updated to the new domain, follow these steps:

  1. Log into WordPress Admin: Navigate to your WordPress site by entering the public IP address of your Lightsail instance.

  2. Update Settings: Go to Settings > General.

  3. Change WordPress Address and Site Address: Update these to your new domain name.

  4. Save Changes.

Post-Configuration

  • 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.