Question

lamp + subdomain + fails to load the right DocumentRoot

I want to load http://checkingjob.com/distribuidores every time someone use http://distribuidores.checkingjob.com but if fails and load http://trabajoeficaz.es

What’s wrong !! help!

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

<VirtualHost *:80> ServerAdmin soporte@duna.es ServerName distribuidores.checkingjob.com

DocumentRoot /var/www/checkingjob.com/public_html/distribuidores

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

</VirtualHost>

Thanks

Subscribe
Share

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 !