Report this

What is the reason for this report?

lamp + subdomain + fails to load the right DocumentRoot

Posted on November 20, 2018

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



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.

I think you are answering another question.

Once again: help !

The developer cloud

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

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.