Question

How to use wordpress droplet headless cms with netlify?

Posted December 30, 2019 715 views
WordPress

I have a single domain through Google Domains. I have a wordpress droplet on DigitalOcean created through the One Click Setup. This will serve as my headless cms. I am using Gatsby with Netlify for the user facing frontend.

I’m using Google Domains name servers with an A record and CNAME pointed to my Netlify application. I can access the Netlify/Gatsby site through my domain.

What do I need to do to make the wordpress admin site accessible from a subdomain like admin.{domain}.com?

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.

×
1 answer

Hello, @matthewtmoran

What you need to do is to point the A record of admin.domain.com to the IP address of your Digital Ocean droplet. Then you need to add/configure the virtual host for admin.domain.com and the subdomain will be accessible in the browser. Keep in mind that DNS changes might take up to 48 hours in order to fully propagate.

Let me know if you have any questions about the configuration.

Regards,
Alex

Submit an Answer