DNS services cannot provide a 301 redirect for HTTPS. I'm migrating to HubSpot from a homegrown PHP environment hosted on Apache. What is the recommended best practice for redirecting the HTTPS links to my site?
I'm moving my company website to HubSpot COS. All our content is hosted on the root domain: https://foobar.com
So, now we are going to have to implement redirects like this that work the HTTPS.
What's the suggested best practice to solve this? I'm thinking of an Amazon cloudflare / s3 / route 53 setup like described here: https://stackoverflow.com/questions/24871111/amazon-s3-static-website-redirect-https-to-http/24876361#24876361
But, I'd like to know what HubSpot recommends? What's best practice? What has worked for others?