Saturday, July 30, 2022

Using AWS Cloudfront for URL Redirection

 AWS Cloudfront is a content delivery network (CDN) and can be used for URL redirection. Sure enough, any DNS server or web server can be used for that matter, but Cloudfront enables us to use SSL certificates through ACM and WAF rules plus AWS shield for extra protection.

All you have to do is to specify your target URL, redirection from HTTP to HTTPS, specify your WAF, then a free custom SSL certificate for your domain from ACM, HTTP headers, a S3 bucket for logging and that's it. Following screens show these configurations:







Hope that helps.

No comments: