Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Removing SSL redirects to another domain

Discussion in 'Security' started by millerroy, May 15, 2018.

  1. millerroy

    millerroy Registered

    Joined:
    May 15, 2018
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    NY
    cPanel Access Level:
    Website Owner
    Hi there!
    I have a website in which my SSL has been expired. This cause a warning each time whenever anyone tries to open and it asks to add security exceptions. I deleted the cirtificate but it redirects me on another domain. There is no such as redirection rules added on .htaccess file.

    Please tell me what should I do to remove ssl and the error as well.
     
  2. cPanelLauren

    cPanelLauren Forums Analyst
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    906
    Likes Received:
    65
    Trophy Points:
    103
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    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:

    1. Install a self-signed SSL - this would mean there would be an error when going to the page over https in your browser
    2. Implement a forced redirect to http
    3. Install a valid SSL certificate on the domain.

    Thanks!
     
    millerroy likes this.
  3. millerroy

    millerroy Registered

    Joined:
    May 15, 2018
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    NY
    cPanel Access Level:
    Website Owner
    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.
     
  4. cPanelLauren

    cPanelLauren Forums Analyst
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    906
    Likes Received:
    65
    Trophy Points:
    103
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    HI @millerroy

    If you add a self-signed certificate or a certificate from a valid CA does the behavior still occur?

    Thanks!
     
Loading...

Share This Page