Okay, I have multiple domains on my server. They have vhost conf files. my main domain.. www.example.com has config file such as..
ServerAdmin example@example.net
ServerName example.net
ServerAlias www.example.net
DocumentRoot /var/www/example.net/public_html
I have 2 files for it.. 80 and 443 for SSL
Now the issue is this.. When I type in a browser www.example.com it takes me to root folder of domain instead of site folder root that's in the path.
when I type example.com into the browser it takes me to the correct root. I can not find this issue anywhere or how to solve i've tried everything I can think of.