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

Posted May 1, 2018 2.3k views
WordPressDigitalOceanCDNUbuntu 18.04

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

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

example : =>Main>blog

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
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.