title: ASP.NET MVC App - AWS Load Balancer Redirect Http to Https
body: <p>I recently created a web application with AWS Elastic Beanstalk and set up an EC2 Classic Load Balancer to redirect HTTP urls to HTTPS.  Currently, I can access my site with either HTTP or HTTPS, but I want any request to automatically send it to HTTPS.  I developed and deployed my ASP.NET MVC application from Visual Studio 2015 using AWS Toolkit (otherwise, all of the website functionality has been setup on AWS).  I am very new to AWS altogether and after looking through a number of posts about this, have been unable to figure out a way to force a redirect from HTTP to HTTPS.  I looked at this site <a href="https://oanhnn.github.io/2016-02-29/how-to-force-https-behind-aws-elb.html" rel="nofollow noreferrer">https://oanhnn.github.io/2016-02-29/how-to-force-https-behind-aws-elb.html</a> but was not sure how to implement what was discussed.  If anyone knows how to do this or knows of good documentation to look at for this, I would greatly appreciate it. </p>