Setting Up HTTPS for BigRock Domains on AWS Amplify


Securing your website with HTTPS is no longer optional—it’s essential for privacy, trust, and SEO. If you’ve purchased your domain through BigRock and are hosting your web application using AWS Amplify, this guide walks you through every step of configuring HTTPS using SSL/TLS.


Step 1: Purchase and Configure Domain on BigRock

If you haven’t yet purchased your domain:

  1. Go to BigRock.

  2. Search and purchase your domain name.

  3. Once purchased, go to My Domains > Manage DNS for your domain.


Step 2: Set Up Your App in AWS Amplify

  1. Log in to the AWS Amplify Console.

  2. Connect your GitHub, GitLab, or other Git repo to Amplify.

  3. Deploy your frontend app (React, Angular, Vue, etc.).


 Step 3: Add a Custom Domain in AWS Amplify

  1. Go to Amplify Console > Your App > Domain management.

  2. Click Add Domain and enter the domain you purchased from BigRock.

  3. AWS will list DNS records you need to add (CNAME, A record, etc.).


Step 4: Add DNS Records in BigRock

  1. Log into your BigRock account.

  2. Go to Manage DNS for your domain.

  3. Add the CNAME and/or A records provided by AWS Amplify.

  4. Ensure the TTL is set to a reasonable value (e.g., 3600 seconds).

  5. Wait for DNS propagation (can take a few minutes to a few hours).


Step 5: Automatic SSL Certificate from AWS

Once the domain is verified:

  • AWS Amplify will automatically provision an SSL certificate via AWS Certificate Manager (ACM).

  • This typically takes 10–30 minutes after DNS records are successfully verified.

  • Amplify automatically renews the SSL certificate before expiry.

 No manual work is needed to install or renew SSL.


Step 6: Verify HTTPS

Once SSL is active:

  • Visit https://yourdomain.com

  • Look for the padlock icon in the browser’s address bar.

  • Use SSL Labs to verify certificate configuration.


Troubleshooting Tips

Issue: DNS not resolving
Solution: Check for typos or missing DNS records in BigRock

Issue: HTTPS is not working
Solution: Wait for SSL provisioning or clear browser cache

Issue: Invalid certificate
Solution: Ensure your domain is pointed to the correct Amplify endpoints



Benefits of HTTPS with AWS Amplify

  • Free SSL with automatic renewal

  • Improved SEO ranking

  • Better user trust and conversion

  • Enhanced performance via HTTP/2


Bonus: Redirect HTTP to HTTPS

Amplify does this automatically, but you can customize it via a redirects rule in amplify.yml:


redirects:

  - source: '</^http:\/\//>'

    target: 'https://<your-domain>'

    status: '301'

    condition: null



Final Thoughts

By using BigRock for domain management and AWS Amplify for hosting, you get the best of both worlds—ease of use and robust scalability. With HTTPS configured, your site is secure, trusted, and SEO-friendly.


Comments

Popular posts from this blog

HTTP Basic vs API Key Auth: Best Practices for Secure API Development

ECS Deployment Best Practices: Blue/Green with CodePipeline and CodeDeploy

AWS Console Not Loading? Here’s How to Fix It Fast

YouTube Channel