How to have ssl on a non subdomain


(mato) #1

Is there a possibility to have my nornal domain using https like my subdomain forum.example.com?

Im redirecting example.com to forum.example.com


(Bhanu Sharma) #2

This can be achieved in multiple ways, Easiest will be to use your domain with cloudflare with following settings:

  1. example.com - Cloudflare enabled, SSL served by cloudflare and Page rule set up to forward all requests to forum.example.com
  2. forum.example.com - Cloudflare disabled (certificate managed by discoruse itself)

alternatively, you can also set up a reverse proxy like nginx and terminate ssl from there, Generate letsencrypt ssl for your reverse proxy and then from nginx, set the appropriate redirect.


(system) #3

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.