Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Pointing a domain name to your app  RSS feed

Timothy Sam
Ranch Hand
Posts: 751
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys, I'm using JK connector for Apache. I think I am able to make my Apache web server communicate with Tomcat now... Problem is, whenever I access the domain, I'm still pointed to the directory tree instead of the application.

browser -> apacheWS -> tomcat -> application

WS = Web Server

The above diagram is what I need to happen. Aside from that, I don't want my user to see some weird url like, instead I want them to see something like or Something like that...

I have virtual hosts setup in my server.xml, but I can't post them right now since I'm not in the office and my internet connection is too slow to access our server. I know my apache and tomcat is able to communicate because the log file I defined using the <Valve> element inside the <Host> element is being generated when I invole the URL. That's just the problem though, instead of loading my application, invoking the domain would still show the directory tree and not my application. Any idea guys? Thanks!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!