NetTalk Central

Author Topic: SSL redirect question  (Read 3573 times)

frankacosta

  • Newbie
  • *
  • Posts: 21
    • View Profile
    • Email
SSL redirect question
« on: May 08, 2015, 07:31:08 PM »
Hi,
just having a redirect problem with my first SSL site, I got the cert back and i am able to access the website when i type in https://book.somesite.org (ex) but, if i just type in book.somesite.org it doesnt redirect and cant find the site.  Is there something in creating the CSR i have to do? 

thanks
Frank
-----------
c9.1
nt 8.45

peterH

  • Sr. Member
  • ****
  • Posts: 413
    • View Profile
Re: SSL redirect question
« Reply #1 on: May 09, 2015, 01:12:42 AM »
Hi Frank,

Nothing to do with your cert. But your app needs to listen on port 80 as well if you want people to be able to access the site using HTTP and not just HTTPS.

One server can only listen on one port but here's the trick: you can add yet another server to your web app. Go into the web server procedure and add one more nettalk/netsimple object. In the settings you want it to listen on port 80 and on the security tab you mark "Always Redirect to Secure Site" and enter the port number of the secure server (presumably 443). That's it! Now your web app effectively listens on both port 80 and 443 - and if accessed via port 80 automatically redirects to the secure server.

HTH
Peter

frankacosta

  • Newbie
  • *
  • Posts: 21
    • View Profile
    • Email
Re: SSL redirect question
« Reply #2 on: May 14, 2015, 06:27:48 AM »
THANK YOU so much Peter!  that worked great