File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to run an application as name-based in tomcat

 
sushi sri
Ranch Hand
Posts: 38
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I'm using Tomcat5.5 on windows and tomcat5.0.28 on linux.
I'm running my aplication in tomcat with localhost now.
I want to run my application now with hostname instead of locathsot and ipaddress.

Basically i've to run this on Linux machine , for which i want to test this on windows first and then on linux later.

If any body can provide step by step procedure to host my application with hostname, it's very much helpful.

It's urgent for me.
Thanks

 
Misha Ver
Ranch Hand
Posts: 470
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
uranch sushi wrote:I want to run my application now with hostname instead of locathsot and ipaddress


Find you machine host name and substitute localhost of IP address with found host name
 
sushi sri
Ranch Hand
Posts: 38
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Misha Ver,

thanks for that. it works.

My actual question is to run my application with the registered domain name on internet.
My server is on 32-bit linux, where i've my application.

For this i need the complete information of which apache httpd server to install for my tomcat5.0.28 onlinux and installtion detals and how to run etc.

Your help is appreciated
Thanks
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you have a static IP address for that machine, and is it permanently connected to the Internet?
 
sushi sri
Ranch Hand
Posts: 38
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i'm new to linux.
I tried this command
"host myserver.com"
which is returning ipadress of the server.
Is this the static ip?

The server is connected to internet only.
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So is it permanently connected or not? If not, chances are that it doesn't have a static IP address; how, exactly, is it connected? DSL? Cable? Company network? Something else?
 
sushi sri
Ranch Hand
Posts: 38
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i think though company network. i'm not sure. how can i found this?
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13045
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You better talk to your company network administrator. Company policy may not permit you to run your own server open to the public, and your company network firewall may not allow it either.

Bill
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic