Mapping Multiple Domains to Same Ip and Port but different applications on Tomcat

Assume you are running Tomcat on ip: and port: 80. Now you want that and both redirect to this ip and this port, but show different pages to the user. How can you do this with Tomcat?

Running Multiple Instances of Tomcat on a Single Machine

Everything you need is here.

What is Tomcat? Is it a Web Server? What can Tomcat do? How is it different than Apache Web Server?

As it was a bit confusing for me, I made a small research on these and wanted to share some notes here.

Notes on Basic Network Concepts - Java Network Programming

  • A network is a collection of computers and other devices that can send data to and receive data from one another.

Protocols of the Internet!

Taken from here!

Java Streams and I/0

I/O in Java is built on Streams. Input Streams read data, Output Streams write data.

DTD files and XSD files?

Maybe a little XML?

What is Java? What is JDK? What is JRE? What is JVM?

What is the difference between them?