I've manage to set up a web server with HTTPS redirect but with one problem .
Assume the URL publish in the DNS is www.xxx.com . And the web server name is zzz.local.
Assume the full URL is https://www.xxx.com/abc
When a user key in www.xxx.com . It will redirect to the correct https website but the address bar changes from :-
http://www.xxx.com/abc to https://zzz/abc
Whilst I'm expecting it to be https://xxx.com/abc.
How do I do that ?