Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

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!
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.
Good point about the DNS, thanks. As for all the rest, I tried it a few times before posting, but all in vain. Anyway, it seems that it requires some deep digging into the server settings which I don’t have time for at the moment. In the meanwhile I’ve enabled this site on another droplet in the very same manner, and all works fine. Go figure
When you open that domain in browser (or ping it) and you get to your server, that means it points correctly and there are no problems with DNS settings (so removing and adding from DNS panel will not help).
Go though a simple make sure list:
a2ensite command.- sudo systemctl restart apache2
Maybe for debugging purpose you can try disabling 000-default If enabled, restart apache and check again.
Also you can clear out browser cache or use another one.
If you want to learn more about it, you can look at How to set up virtual hosts for Apache on Ubuntu 16.04.