Skip to main content

How to use Letsencrypt to domain that has no root folder with Cloudflare? [Resolved]

I am trying to use Letsencrypt (HTTPS) on my website with Cloudflare (HTTP) but I confuse with this.

  1. the domain doesn't have a root folder

  2. accessing domain will be redirected to one of subdomains

    • domain.com -> sub1.domain.com
  3. I have many subdomains

    • domain.com redirect to sub1.domain.com
    • sub1.domain.com
    • sub2.domain.com
    • etc..

I am using ubuntu server 16.04 with apache.

My question, How to use Letsencrypt to my website with configuration above (domain.com has no root folder ) with Cloudflare?

Thank you


Question Credit: Ferdy Sopian
Question Reference
Asked March 15, 2019
Posted Under: Network
10 views
1 Answers

Your Answer