Question

How to use wordpress droplet headless cms with netlify?

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?


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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