Search icon
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Apache Tomcat 7 Essentials

You're reading from  Apache Tomcat 7 Essentials

Product type Book
Published in Mar 2012
Publisher Packt
ISBN-13 9781849516624
Pages 294 pages
Edition 1st Edition
Languages
Author (1):
Tanuj Khare Tanuj Khare
Profile icon Tanuj Khare

Table of Contents (18) Chapters

Apache Tomcat 7 Essentials
Credits
About the Author
Acknowledgement
About the Reviewers
www.PacktPub.com
1. Preface
1. Installation of Tomcat 7 2. Configuration and Deployment 3. Performance Tuning 4. Integration of Tomcat with the Apache Web Server 5. Securing Tomcat 7 6. Logging in Tomcat 7 7. Troubleshooting in Tomcat 8. Monitoring and Management of Tomcat 7 9. Clustering in Tomcat 7 10. Tomcat Upgrade 11. Advanced Configuration for Apache Tomcat 7

Virtual hosting in Tomcat 7


Tomcat 7 supports name-based virtual hosting. This approach is very useful in hosting multiple web applications on the single instance of Tomcat 7. It also gives more privileges to the administrator to separate the applications from each other and their access control restrictions. You cannot understand the real concept of virtual hosting unless you implement it. So why wait, let's do the real-life implementation for virtual hosting in Tomcat 7.

For example, if you want to host the previously mentioned sites on the web server, then the DNS will be configured in the following manner. Let us assume the web server name is webserver1.yxz.com and is hosted on the IP 192.168.0.1. To implement the previous scenario, the following steps need to be performed:

  1. 1. Configure the domain names in the DNS server and reload the DNS services so that it can be replicated on the server. Following are the DNS records with the address and CNAME:

    Alias

    Record

    Domain

    webserver1...

lock icon The rest of the chapter is locked
arrow left Previous Chapter
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}