Stop redirecting of domain which does not have ssl


#1

My all request redirect to https. I want to only redirect domain which has ssl certificate and other should work on normal domain. but now other domain is also redirecting to https and giving error ssl_domain_invalid: Your request contacted a host which presented a certificate with a Common Name that did not match the domain requested.
http://rehm.roboeyelabs.com/


#2

Are you able to login via SSH?


#3

yes . it is aws ec2
i have installed let’s ecncrypt with select all request redirect to https. Now i want to stop auto redirection


#4

You may find the config with the redirection with:
grep -Eri 'servername|serveralias|rewrite' /etc/apache/

Looking for the config file that contains “rehm.roboeyelabs.com” and that also has a rewrite statement.


#5

i am trying to setup wildcard subdomain allow


#6

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.