HomeManaged Shared HostingWebSite without SSL when using https goes to another site

4.1. Site without SSL when using https goes to another site

SYMPTOMS:

Sites using a Shared IP address have noticed that when they change from http:// to https:// and they don’t have an SSL and they add an exception to allow a connection to an unverified SSL, it redirects to another website on sharing that same IP address.

 

RESOLUTION:
Go to the hosting account of the domain apache selects as the domain in this case and add a .htaccess file and simply put:


Options +FollowSymlinks

RewriteEngine on

rewritecond %{http_host} ^domain.com [nc]

rewriterule ^(.*)$ http://www.domain.com/$1 [r=301,nc]



Where domain.com is the site that you want it to redirect back.

This page was: Helpful | Not Helpful