page redirect while maintaining original URL
We have a URL: http://mappingmirroralb-1234.eu-central-1.elb.amazonaws.com/ (no SSL cert installed)
We would like to have a URL with SSL: https://mapping.mydomain.com/
Users will use second URL which will redirect to first URL. However, we would like the original URL to maintain. As in, it will show mapping.mydomain.com. Just using redirect rules does not seems to work. I have read a lot of examples but non seems to be working.
TLDR:
https://mapping.mydomain.com/ --> http://mappingmirroralb-1234.eu-central-1.elb.amazonaws.com/ (but browser maintain https://mapping.mydomain.com/).
Appreciate any help or at least let me know if this is doable? Thanks.
1 Reply
This is not a redirect, but rather a DNS rule. You'll want to create a
CNAME
DNS entry for mapping.mydomain.com
and have it point to mappingmirroralb-1234.eu-central-1.elb.amazonaws.com
. Since it sounds like you'll be using Cloudflare for SSL termination, you'll want to enable the :cloudflare: proxy