Redirect https alias to http main domain (it is showing no private connection error)
I have one domain alias
The main domain is
When someone enters to
www.domain2.example it shows "SSL connection is no private NET::ERR_CERT_COMMON_NAME_INVALID"
I need that the user is redirected from
I have tried a lot of ways using https and none works