DeveloperSide.NET Forums
January 21, 2020, 06:15:20 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Defining Hosts in Tomcat  (Read 3645 times)
0 Members and 1 Guest are viewing this topic.
gtbo
Member
*
Posts: 6


View Profile
« on: September 15, 2006, 03:55:10 AM »

Hi all...I am running V1.18 of the suite...all is going well Apache working nicely with multiple virtual hosts...tomcat is also installed and working as expected.

I have installed a tomcat site and this works correctly when I link to it from the Application List in the tomcat manager and if I go to http://localhost:8080/domain1 for example

How do I tell tomcat to redirect requests being received for www.domain1.com to that particular context? Currently when I redirect external traffic I just get the Apache Tomcat page ;)

I am sure it is defined in the server.xml but no matter what I try as far as defining the "host" variable I can't get it to work.

Is anyone able to point me in the right direction or post a snippet of their server.xml...if that is the part that needs to be modified?

many thanks.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.9 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!