Results 1 to 11 of 11
  1. #1
    Join Date
    Oct 2013
    Location
    Vientiane, Laos
    Posts
    71

    need help with ssl

    hello all gurus,
    i am in need of your help!
    i have purchased a ssl and already install on subdomain for using with whmcs. installing was done and working but as i have intalled whmcs on subdomain so the root (public_html) is nothing only .htaccess file to redirect the main domain or can call it main site to subdomain.
    the problem is http is not changing to https and i also set https in general setting of whmcs too.
    RewriteEngine On
    Options +FollowSymlinks
    RewriteCond %{HTTP_HOST} ^(www\.)?wplover\.net$ [NC]
    RewriteRule ^ http://secure.wplover.net [R,L]

    But still no luck. the main domain redirected but not into https.
    please help me how to fix that thanks
    Hosting for Wordpress Lovers
    Host with loves.

  2. #2
    Join Date
    Mar 2012
    Location
    United Kingdom
    Posts
    1,136
    Try removing that code and adding this to .htaccess

    RewriteEngine On RewriteCond %{HTTPS} !=on RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
    Sapatana.eu ILoveBilling
    120Gbps DDoS Protection on Shared Hosting, Reseller Hosting, XEN Windows and Linux VPS, Domains, SSL Certificates
    PayPal | BitPay (BitCoin) | UK Bank Transfer | International Bank Transfer

  3. #3
    Join Date
    Oct 2013
    Location
    Vientiane, Laos
    Posts
    71
    Thank you s-jack but have one more question that how to redirect domain to subdomain?
    Hosting for Wordpress Lovers
    Host with loves.

  4. #4
    Hi,

    If it's WHMCS then use the settings of WHMCS to have https thing. This option comes in General Settings > Https URL.

    The above option won't change homepage to https, it will change other urls to https for the secure access like clientarea.php, cart.php and others.

    And to have your domain.com redirected to subdomain.domain.com, you can use the following code.

    Code:
    RewriteEngine On
    Options +FollowSymlinks
    RewriteCond %{HTTP_HOST} ^(www\.)?domain\.com$ [NC] 
    RewriteRule ^ http://sub.domain.com [R,L]
    Bharat Vashist
    ShineServers.Com Fully Managed SSD Shared Hosting, VPS, Dedicated Servers & MORE!
    Follow us on Twitter: @ShineServers | Like us on Facebook: facebook.com/ShineServers
    sales @ shineservers.com | call us: 011-43065882

  5. #5
    Join Date
    Oct 2013
    Location
    Vientiane, Laos
    Posts
    71
    Quote Originally Posted by ShineServers View Post
    Hi,

    If it's WHMCS then use the settings of WHMCS to have https thing. This option comes in General Settings > Https URL.

    The above option won't change homepage to https, it will change other urls to https for the secure access like clientarea.php, cart.php and others.

    And to have your domain.com redirected to subdomain.domain.com, you can use the following code.

    Code:
    RewriteEngine On
    Options +FollowSymlinks
    RewriteCond %{HTTP_HOST} ^(www\.)?domain\.com$ [NC] 
    RewriteRule ^ http://sub.domain.com [R,L]
    Hello,
    I have tried that and it redirect to the subdomain. But the problem is the https:// is not showing in address bar even i have set in whmcs admin>general setting for to point ssl to https:// but when i tried to login to site by insert domain then it's only redirect to http://subdomain
    please log on to wplover.net and see if i have done some thing wrong.
    Thanks for advice and help.
    Hosting for Wordpress Lovers
    Host with loves.

  6. #6
    Quote Originally Posted by khan856 View Post
    Hello,
    I have tried that and it redirect to the subdomain. But the problem is the https:// is not showing in address bar even i have set in whmcs admin>general setting for to point ssl to https:// but when i tried to login to site by insert domain then it's only redirect to http://subdomain
    please log on to wplover.net and see if i have done some thing wrong.
    Thanks for advice and help.
    Everything seems perfectly fine even works very well as shown here :- http://cl.ly/image/0R1b3n2Z1T3T/Scre...59.34%20am.png

    https://secure.wplover.net/clientarea.php
    https://secure.wplover.net/cart.php
    https://secure.wplover.net/register.php

    These are the examples that https works and works automatically on whmcs when you choose any of these links from the navigation bar.

    PS : Try to clean your cache and everything. It may start working ?
    Bharat Vashist
    ShineServers.Com Fully Managed SSD Shared Hosting, VPS, Dedicated Servers & MORE!
    Follow us on Twitter: @ShineServers | Like us on Facebook: facebook.com/ShineServers
    sales @ shineservers.com | call us: 011-43065882

  7. #7
    Join Date
    Oct 2013
    Location
    Vientiane, Laos
    Posts
    71

    Talking

    Quote Originally Posted by ShineServers View Post
    Everything seems perfectly fine even works very well as shown here :- http://cl.ly/image/0R1b3n2Z1T3T/Scre...59.34%20am.png

    https://secure.wplover.net/clientarea.php
    https://secure.wplover.net/cart.php
    https://secure.wplover.net/register.php

    These are the examples that https works and works automatically on whmcs when you choose any of these links from the navigation bar.

    PS : Try to clean your cache and everything. It may start working ?

    Thanks Shineservers that helps me a lot. I was so upset to lost my lots of customers due to my last dedi provider and now re-set up from scratch again.
    Hosting for Wordpress Lovers
    Host with loves.

  8. #8
    Quote Originally Posted by khan856 View Post
    Thanks Shineservers that helps me a lot. I was so upset to lost my lots of customers due to my last dedi provider and now re-set up from scratch again.
    My pleasure! Hope this will help you to gain some good customers.

    Regards
    Bharat
    Bharat Vashist
    ShineServers.Com Fully Managed SSD Shared Hosting, VPS, Dedicated Servers & MORE!
    Follow us on Twitter: @ShineServers | Like us on Facebook: facebook.com/ShineServers
    sales @ shineservers.com | call us: 011-43065882

  9. #9
    I have noticed two issues:

    [1] If I browse wplover.net, it redirects to http://secure.wplover.net/ (non-HTTPS URL). You can set https URL in your .htaccess to resolve this.

    [2] Your SSL installation is not complete. CA certificate is missing on your server. Due to this browser is showing an error stating that it is insecure.

    http://www.sslshopper.com/ssl-checke...re.wplover.net

    You will have to install CA certificate for your SSL provider.
    || Web Hosting Blog - Web Hosting security & latest web hosting industry Announcements
    || Web Hosting Discussion - A Web Hosting community

  10. #10
    Join Date
    Oct 2009
    Location
    Netherlands, the
    Posts
    46
    Quote Originally Posted by khan856 View Post
    hello all gurus,
    i am in need of your help!
    i have purchased a ssl and already install on subdomain for using with whmcs. installing was done and working but as i have intalled whmcs on subdomain so the root (public_html) is nothing only .htaccess file to redirect the main domain or can call it main site to subdomain.
    the problem is http is not changing to https and i also set https in general setting of whmcs too.
    RewriteEngine On
    Options +FollowSymlinks
    RewriteCond %{HTTP_HOST} ^(www\.)?wplover\.net$ [NC]
    RewriteRule ^ http://secure.wplover.net [R,L]

    But still no luck. the main domain redirected but not into https.
    please help me how to fix that thanks
    Normally you should use the private_html folder for https or you should use a function like; a symbolic link from private_html to public_html - allows for same data in http and https.

    Also your rewriterule redirects to http instead of https.

  11. #11
    Join Date
    Oct 2013
    Location
    Vientiane, Laos
    Posts
    71
    Quote Originally Posted by Kailash12 View Post
    I have noticed two issues:

    [1] If I browse wplover.net, it redirects to http://secure.wplover.net/ (non-HTTPS URL). You can set https URL in your .htaccess to resolve this.

    [2] Your SSL installation is not complete. CA certificate is missing on your server. Due to this browser is showing an error stating that it is insecure.

    http://www.sslshopper.com/ssl-checke...re.wplover.net

    You will have to install CA certificate for your SSL provider.
    Thanks Kailash I have done as you have mentioned me the link that was great help!!
    Thanks
    Hosting for Wordpress Lovers
    Host with loves.

Similar Threads

  1. SSL Store for sale with free SSL reseller account worth $500
    By NaeemAsghar in forum Domain Name with Web Site Offers
    Replies: 5
    Last Post: 05-13-2013, 09:50 PM
  2. Replies: 0
    Last Post: 10-24-2012, 10:42 AM
  3. Replies: 0
    Last Post: 10-17-2012, 01:22 AM
  4. Replies: 0
    Last Post: 10-10-2012, 12:33 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •