I need to host two sites with Tomcat. This is what is in my Apache conf:
<VirtualHost *:80>
ServerAdmin suporte@project.com
DocumentRoot /root/tomcat/webapps/PROJECT
ServerName www.project.com
</VirtualHost>
To access the site, I can access only by the www.project.com/project. I can't access the index, for example: www.project.com
And what for the case when I want host another site ?
My idea:
<VirtualHost *:80>
ServerAdmin suporte@project1.com
DocumentRoot /root/tomcat/webapps/PROJECT1
ServerName www.project1.com
</VirtualHost>
But I've had no success.
How would I solve this?