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?
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!
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
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.