Hi;
I did some research on this subject. But what I found did not work.
Droplet: Ubuntu 16.04
I created A and CNAME. > http://prntscr.com/i52gf8 I added data > http://prntscr.com/i52iht
My website working. But subdomain doesn’t work.
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.
First, make sure that the subdomain resolves to your virtual server’s IP address:
After you’ve confirmed the subdomain is resolving correctly, ensure your Apache virtual hosts are correctly configured:
https://www.digitalocean.com/community/tutorials/how-to-set-up-apache-virtual-hosts-on-ubuntu-16-04
That should be it =)
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.
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.
