How to enable Tomcat for addon domain.

If you want to enable Tomcat for an addon domain then follow the steps :

[email protected][#] cd /usr/local/jakarta/tomcat/conf/
[email protected][#] vi  server.xml

Add these lines to the server.xml  file :
<Host name=”” appBase=”/home/username/public_html/”>
<Context path=”” reloadable=”true” docBase=”/home/username/public_html/” debug=”1″/>
<Context path=”/manager” debug=”0″ privileged=”true”


Then restart the tomcat service.

Note  : here  “appBase”  and docBase” is the path to addon domain.

That’ s all this will do it.