lamp + subdomain + fails to load the right DocumentRoot

I want to load every time someone use but if fails and load

What’s wrong !! help!

I have created a dns entry in DO I have created a virtualhost also

<VirtualHost *:80> ServerAdmin ServerName

DocumentRoot /var/www/

ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined




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.

I think you are answering another question.

Once again: help !