cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

SSL Help

Hi everyone, I am new here and also to SSL configurations. So you suggestions would be really helpful

I have a mutli domain hosting plan and testing my hostings. Few problems faced with SSL are listed.

1. website with SSL is accessible via http and not via https

2. other websites hosted here, takes automatically https, even though hard coded to only primary domain in .htaccess

 

Code inside htaccess:::

RewriteEngine On
RewriteCond %{HTTP_HOST} ^domain\.in [NC]
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI}

1 REPLY 1
Moderator
Moderator

Re: SSL Help

Hi @nefuture, thanks for posting.

I'm not familiar enough with rewrite rules to say what might be wrong with what you have there. However, you can prevent the .htaccess file for your main site/domain from affecting your other sites by putting a .htaccess file in the folders for those sites.

Perhaps a Community member with more experience working with rewrite rules will be able to give you some more specific suggestions.

^Gary

Gary - GoDaddy | Community Moderator
24/7 Support | Check System Status