Httpd-vhosts.conf DocumentRoot not working

I’m having a problem with virtualhosts. I’ve specified the correct DocumentRoot folders for each of my websites in the httpd-vhosts.conf but when I try to access the website by domain name it keeps going to the DocumentRoot folder specified in httpd.conf file instead of what is in the httpd-vhosts.conf file. I have the Include httpd-vhosts.conf line in httpd.conf. I’m not sure what I’m doing wrong. Any ideas?

OS : Windows 10
Java Version : Installed with Lucee (Says 11.02 in release file)
Tomcat Version : Installed with Lucee (9.0.86 in release file)
Lucee Version :

It’s quite difficult to help you.
Please, add your httpd.conf configuration file.

Make sure file permissions are setup in a manner, that the config files can be read.

I know it’s a dumb question, and please excuse… But did you make sure to restart apache?

Please also check that post:

System won’t let me upload the file. Says new user can’t upload attachments. And when I try a link it says I can’t do that either.

Finally it took my Google Drive shares.

I finally got them uploaded. If you could check them out that would be awesome.


Thanks, but i mean the main configuration file, where you include httpd-vhosts.conf (I think it’s name is httpd.conf or apache2.conf)

Your httpd.conf includes ssl conf file but your host file is for non-https. Most browsers will default to https (443) now when loading. Make sure http://… is in the URL?