Online Tomcat Server

Apache Tomcat is an opensource implementation of Java servlet engine, Java Expression Language and Java Server web pages. It comes across as an ideal option for developers who are building and deploying Java-based applications. Strictly speaking, Tomcat is not your ordinary web server like Nginx or Apache. Apache Tomcat is an open-sourced server that is often used for important web applications for enterprise users. However, as with all virtual technology, using Apache Tomcat comes with a responsibility to monitor it properly. In this Tomcat monitoring guide, we’re going to look at how to monitor Tomcat and some of the tools you can monitor it with.

Learn how to install and use Apache Tomcat on CentOS 7. Apache Tomcat is a Java Servlet container developed by Apache to which allows you to deploy Java servlets and JSPs. Apache Tomcat also functions as a web server, which is able to support small to medium-sized websites.

This tutorial also covers how to install and use the Tomcat Web Admin Manager, which allows you to manage Tomcat and virtual hosts from a web browser.


  • A Cloud Server running Linux (CentOS 7)
  • If you have a firewall, you will need to allow access to port 8080.

vServer (VPS) from IONOS

Low-cost, powerful VPS hosting for running your custom applications, with a personal assistant and 24/7 support.

Ready in 55 sec.

Install Tomcat


Installing Tomcat on CentOS 7 requires one simple command:

This will install Tomcat and its dependencies, including Java.

There are several additional packages which many users, particularly those who are new to Tomcat, will find useful. Install them with the command:

Tomcat Server Download

This will install:

  • The Tomcat root webpage (tomcat-webapps)
  • The Tomcat Web Admin Manager (tomcat-admin-webapps)
  • The official online Tomcat documentation (tomcat-docs-webapp and tomcat-javadoc)

If your server is running Apache, stop it with the command:

And enable Tomcat to automatically start if the server is rebooted:

You can verify that Tomcat is running by visiting the URL in a web browser. You will see the Tomcat welcome page, which includes links to the Tomcat documentation which you installed in the previous step.

Use the Tomcat Web Admin Manager

In order to use Tomcat's web management interface, you will need to create a user. Open the tomcat-users.xml file with the command:

Scroll down to below the line which reads <tomcat-users> and add the information for your user account:


For example, to add the user jdoe with password En4EW25eI0 this section will read:

Save and exit the file. Restart the Tomcat service for the changes to take effect:

In a browser, visit the URL to see the Tomcat welcome page. Click the Manager App link.

Online Tomcat Server Ip

You will be prompted to log in with the username and password you created.

From this page you can stop, reload, and run diagnostics on various Java applications.

Dedicated Server from IONOS

Hardware meets cloud: dedicated server with cloud integration and per-minute billing, including a personal assistant!

Unlimited traffic

Apache Tomcat Server

Manage Virtual Hosts

Online Tomcat Server Free

To manage virtual hosts through the Web Application Manager, scroll down and click the /host-manager link.

Tomcat Web Server Download

This will take you to the Tomcat Virtual Host Manager, where you can add and manage virtual hosts to your Tomcat server.

Online Tomcat Server Download

Related articles