Skip to main content

Turning off SSL For New Domain Redirects To Another Domain On Serer

Comments

7 comments

  • ffeingol
    I'm pretty sure you'd have to go into features and disable AUTOSSL if you don't wan it to create the SSL when you create the domain. Remember to turn it back on when you are done. As you said, you'd also need to go into tweak settings and make sure that generate self-signed is turned off also.
    0
  • PDW
    So I went ahead and disabled Auto SSL, terminated the account, recreated and no SSL installed by AutoSSL but website still redirects to the other domain on the server when using HTTP:// or https:// seems that since no SSL installed it is sending it to another domain name no matter what on the server
    0
  • azednetma
    Host no-ssl domains in one IP and ssl domains in another different IP.
    0
  • PDW
    thanks for the suggestion, gave that a go and still same result. Got it on the second IP dedicated bring it up server still redirects to another domain name. And its not the host name its going to just another domain name on the server
    0
  • cPanelRoman
    Hello, I believe the confusion comes from the following options: Choose the closest matched domain for which that the system has a valid certificate when redirecting from non-SSL to SSL URLs. Formerly known as "Always redirect to SSL/TLS" Non-SSL redirect destination (set to original domain) SSL redirect destination (set to original domain)
    The above options are in relation to cPanel services port 2083/2087, the above does not handle Apache redirections. This is explained in our documentation Tweak Settings | cPanel & WHM Documentation Thanks,
    0
  • PDW
    So what you are saying is that the tweak settings redirects have no bearing on why a domain name with no SSL certs installed is redirecting to another domain on the server. This is frustrating, been running a Cpanel server for almost 20 years and one should be able to turn off SSL and not force SSL on a single domain and not kill it sending you to another. I must be missing something maybe looking and trying for over 2 days is getting to me. that's why I finally turned to asking Another note, if I take out the .htaccess fine it doesn't redirect but also doesn't find the account either.
    0
  • cPanelRoman
    Hello, Thank you for the update. That is correct, the redirections mentioned in the tweak settings are not related to Apache (Rewrite) redirection rules. If you do not want to perform HTTPS redirects then you simply need to remove the HTTPS rewrite rules from the .htaccess file. Can you share the redirect rules configure so we can try to point out which ones should be removed? Finally, please note cPanel/WHM is not loading the wrong site, when Apache cannot find the correct HTTPS vhost (on port 443) it tries to load any vhost with a valid certificate but this is normal Apache behavior. Thanks,
    0

Please sign in to leave a comment.