I have to tomcat servers running in my server. And I wanted to do a virtual host routing. So initially I tried it with one tomcat which is running in 8081 port and ajp port enabled to 8011 in the tomcat server.xml file My conf file in the /etc/apache2/sites-available/mydomain_name.com.conf looks likes this Then I did Every thing went find, no