I've been searching extensively for the answer and have tried multiple solutions. I need to redirect all requests to
http://r.rmstl.com to
https://r.rmstl.comI feel like my issue is because its a subdomain and regex pattern.
Currently I am using these settings based on the examples I have been seeing.
Match URL
Requested URL: Matches the Patter
Using: Regular Expressions
Pattern : (.*)
Ignore Case = checked
Conditions
Logical Grouping : Match All
Condition Input: {HTTP_HOST}
Check if input string: Matches the Pattern
Pattern: ^OFF$
Ignore Case = Checked
Action Properties
Action Type: Redirect
Redirect URL: https://{HTTP_HOST}/{R:1}
Append query string = Checked
Redirect Type: Permanant (301)