Wordpress Multisite Subdomain (Digital Ocean(Server Pilot), Cloudflare)

May 1, 2018 312 views
CDN WordPress DigitalOcean Ubuntu 18.04
cakluscom
By:
cakluscom

how to make wordpress multisite subdomain (1 droplet) using ssl from CloudFlare?
i use :

  1. Digital Ocean (Server Pilot)
  2. CloudFlare (Using SSL)

example :
https://domain.com =>Main
https://blog.domain.com=>blog

1 Answer

CloudFlare provides SSL for you by default when you add your domain. To do this you'll need to set up CloudFlare for your main domain and then add an A or CNAME record to your DNS there for the subdomain. Your server will detect which site was requested and serve the appropriate site based on your web server configuration.

Have another answer? Share your knowledge.