---
title: "Discussion on \"Rewrite non www to www in AWS S3 bucket and CloudFront\" | Hashnode"
description: "Discussion on \"Rewrite non www to www in AWS S3 bucket and CloudFront\". Hello Everyone, \nThis article cover how to redirect non-www domain to www while using S3 bucket static hosting and CloudFront. As everyone might know about how to redirect/rewrite non-www to www using .htaccess in apache server. \nRewriteEngine On\nRew..."
url: "https://hashnode.com/posts/rewrite-non-www-to-www-in-aws-s3-bucket-and-cloudfront/5f85f1934f98e64389435c37"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Rewrite non www to www in AWS S3 bucket and CloudFront](https://www.internetkatta.com/rewrite-non-www-to-www-in-aws-s3-bucket-and-cloudfront?utm_source=hashnode&utm_medium=feed)

Hello Everyone, This article cover how to redirect non-www domain to www while using S3 bucket static hosting and CloudFront. As everyone might know about how to redirect/rewrite non-www to www using .htaccess in apache server. RewriteEngine On Rew...

Oct 13, 2020 · 1 min read · internetkatta.com  
Updated Oct 20, 2020  
Read the article

-   [#aws](https://hashnode.com/tag/aws)
-   [#amazon-s3](https://hashnode.com/tag/amazon-s3)
-   [#web-hosting](https://hashnode.com/tag/web-hosting)
-   [#2articles1week](https://hashnode.com/tag/2articles1week)
-   [#hashnode](https://hashnode.com/tag/hashnode)

## Written by

[Avinash Dalvi](https://hashnode.com/@AvinashDalvi)

@AvinashDalvi · Bangalore

  
[View profile](https://hashnode.com/@AvinashDalvi)

AWS Community Builder | Full Stack Developer | PHP + Angular + Python + AWS | Speaker | Blogger | Leadership

13+ Years of experienced as Full Stack Developer. Also worked as architect for building solutions and product to help for automation. Solution-oriented and hands-on technical utility player. Having experience of more than 4 years of experience in E commerce and finance in each domain. Experience in having driving business automation, marketing using technology. Strong follower of open source technology. Used PHP, Python, AWS and Angular as technology stack to build product

## Responses 1

Markdown supported · ⌘↵ to post

[Sonia Manoubi](https://hashnode.com/@Zoun)

[Oct 14, 2020](https://hashnode.com/posts/rewrite-non-www-to-www-in-aws-s3-bucket-and-cloudfront/5f85f1934f98e64389435c37/comment/5f86aab54f98e64389436426)

Nice to have some articles about AWS, i am also writing some stuff about AWS if you want to check it out :)

[Avinash Dalvi](https://hashnode.com/@AvinashDalvi)

[Oct 14, 2020](https://hashnode.com/posts/rewrite-non-www-to-www-in-aws-s3-bucket-and-cloudfront/5f85f1934f98e64389435c37/comment/5f86aab54f98e64389436426#reply-5f86b35c76870f43aa09d634)

Some of writing based on my expertise and some i am doing research on new AWS resources.
