Tomcat homepage and virtual min

SYSTEM INFORMATION
OS type and version Centos 7
Webmin version 1.994
Virtualmin version 7.1
Related packages Apache Tomcat 9.053
                                         Apache Webserver 2.46

I used webmin to install Apache Tomcat after I had been using Apache Webserver for my virtual servers through Virtualmin, now when I go to my website (www.rjhpltw.org, or trojannews.org) I get the Apache Tomcat homepage instead of my websites. I have read about editing the root folder in Tomcat, but what do I put to make sure I get the different websites and not just one website address? Sorry this is probably a dum question, but I have googled and looked at everything I can find for 3 days.

I need to redirect so that each of my sites home index.php page shows up

So is it displaying index.html? you can just rename to .old if that the case.
If it follow apache directory index then it should be
DirectoryIndex index.html index.htm index.php index.php4 index.php5

Steve

There is no index.html in my /home/rjhpltw/public_html/ directory for my website www.rjhpltw.org, only a index.php, which is the correct for my homepage for my website, so it looks like somehow my sites are not going to their virtual directories but are going to the tomcat directory. Does that make sense? So renaming index.html.old fix my issue because it is not in my virtual website home directory

If I turn off the Apache Tomcat server, then I get an errror message 503 service unavailable, it is almost like my Apache webserver isn’t running

Do I need to install the mod_jk connector? I installed tomcat through webmin

Sorry I have no clue, i don’t use Tomcat. does tomcat have log files you can check too see what it is using to display this page?
I googled the issue and found this in docs
HowTo - Apache Tomcat - Apache Software Foundation?

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.