Skip to main content

Removing SSL redirects to another domain

Comments

3 comments

  • User Avatar
    cPanelLauren
    Hello, When you remove the SSL host it removes the SSL VirtualHost used by apache to serve the site over https. When you attempt to access the site over https (or if there's a forced redirection to https) and no certificate (self-signed, expired or valid) or SSL VirtualHost exists Apache serves the first SSL VirtualHost in the configuration on that IP address. To resolve this you can do one of the following:
    • Install a self-signed SSL - this would mean there would be an error when going to the page over https in your browser
    • Implement a forced redirect to http
    • Install a valid SSL certificate on the domain.
    Thanks!
    0
  • User Avatar
    millerroy
    I have done this before..I deleted the SSL certificate, force redirects my website to HTTP but nothing happened. The domain redirects to another domain. I didn't try to install self-signed certificate yet.
    0
  • User Avatar
    cPanelLauren
    HI @millerroy If you add a self-signed certificate or a certificate from a valid CA does the behavior still occur? Thanks!
    0

Please sign in to leave a comment.