Assume you are running Tomcat on ip: 18.104.22.168 and port: 80. Now you want that www.app1.com and www.app2.com both redirect to this ip and this port, but show different pages to the user. How can you do this with Tomcat?
As it was a bit confusing for me, I made a small research on these and wanted to share some notes here.
- A network is a collection of computers and other devices that can send data to and receive data from one another.