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
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.


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