Question
Redirect HTTP domain A to HTTPS domain B (with lets encrypt cert installed already)
I would like to redirect domain A that is not secure (http) to domain B that is secure (https) that has a let’s encrypt ssl cert already installed. I believe the answer to my question is to utilize the rewrite rules. But, the documentation is a little difficult to understand -for me. Any help, with examples would be awesome.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×
Thank you for the help!
Unfortunately, did not work. When testing via a browser the error is “domain A’s server DNS address could not be found.”
I assume I need to point domain A to domain B’s IP address for this to work correctly?
I figured it out. Thanks.