New Subdomain A Record Not Working

I have a droplet that is running multiple sites and subdomains using Apache2 and Virtual hosts following a DigitalOcean tutorial. However, I’m trying to add a new subdomain and the A record does not seem to be working and running apache conf test i don’t get any errors. Any ideas what it might be?

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.


Can you please confirm when did you make the DNS change for this subdomain? Note that it could take from 2 up to 24/48 hours for the DNS cache to clear over the globe.

In the meantime you could use your local hosts file to skip the DNS lookups for this domain name.

Also as a side note, did you restart Apache after the changes?

Hope that this helps! Bobby