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!

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 II
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    3,552
    Likes Received:
    253
    Trophy Points:
    193
    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!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    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 II
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    3,552
    Likes Received:
    253
    Trophy Points:
    193
    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!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice