Removing SSL redirects to another domain

millerroy

Registered
May 15, 2018
2
0
1
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.
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,300
363
Houston
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!
 
  • Like
Reactions: millerroy

millerroy

Registered
May 15, 2018
2
0
1
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.