Hi,
I have a main domain and it has 66 parking domains.
I installed a SSL certificate for my main domain and cpanel said to me:
So, my questions are:
Are there any way to disable SSL certificates for parked domains?
---
or
---
Are there any way to force using http instead of https for parked domains?
For example using .htaccess
Some details for our .htaccess files:
We use a .htaccess redirection code in public_html like this:
Our parking domains use some redirection files under /parking folder. We have a .htaccess under this file too like this:
Thank you very much for your helps
I have a main domain and it has 66 parking domains.
I installed a SSL certificate for my main domain and cpanel said to me:
Yes, it is right, when I visited the my parking domains, browsers show warning messages.The SSL website is also accessible via these domains, but the certificate does not support them. Web browsers will show a warning when accessing these domains via HTTPS:
- (List of my park domains)
So, my questions are:
Are there any way to disable SSL certificates for parked domains?
---
or
---
Are there any way to force using http instead of https for parked domains?
For example using .htaccess
Some details for our .htaccess files:
We use a .htaccess redirection code in public_html like this:
Code:
Options +FollowSymLinks -MultiViews -Indexes
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteCond %{HTTP_HOST} ^88\.88\.88\.88$ [NC,OR]
RewriteCond %{HTTP_HOST} ^([a-z.]+)?mydomain\.com$ [NC]
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ [URL]https://www.mydomain.com/$1[/URL] [R=301,L]
Code:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
RewriteRule ^(.*)$ [URL]http://%1%{REQUEST_URI}[/URL] [R=301,QSA,NC,L]
RewriteCond %{HTTP_HOST} ^(.*)
RewriteRule ^(.*)$ [URL]http://www.mydomain.com/%1?language=EN[/URL] [L,NC,QSA]
Last edited by a moderator: