How to deploy web app so that it can be access through the internet?

i wanted to deploy my jsp application so that it can be access by the outside world. i am using tomcat as our webserver in development.
i have granted permission from my manager to test on our 'public server' that currently running a asp application on IIS.
my question:
-can one server run both IIS and tomcat together?
-what should i do/ how to configure my web app so that it can run on the public server using
  a. IIS?
  b. tomcat?
-where can i get the documentation in doing it? all i have is the tutorial showing me how to access to localhost only..
-to access the current asp application, we supply url like this(eg):, so can i configure it so that to access the jsp, the url will be sth like
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

JAVAnewbieAuthor Commented:
sounds like it helps, but i need a working example... i just afraid that i will mess up with our server if it is not being done properly... :>
Im afraid your asking us to write a book here for 200 points.

1st question - yes, IIS and tomcat can exist on the same server for public access, but they will have to have different ports. i.e. only one of them can run on port 80 which is the standard HTTP port.

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

JAVAnewbieAuthor Commented:
>>Im afraid your asking us to write a book here for 200 points.

but you at least might be able to point me to the right direction?
-where can i get the documentation in doing it? all i have is the tutorial showing me how to access to localhost only..
OK, first question yes, they can co-exist. But as I said, they would have to be on different ports. I have a windows machine setup with 2 public IP addresses. IIS listens on one and JBoss (which has tomcat internally) on tghe other. With this method, they can both run on the same port (80, the default for HTTP requests). If you didnt have 2 IP addresses, you'd have to put them both on different ports.

For running a public siste on IIS, you shouldnt have todo anyu configuration work. If youve already got it running website, then its already configured correctly - simply drop your HTML/ASP pages into thre relavant site directoty to make it live.

For Tomcat, there is a bot more work involved in the setup. You can find the info you're looking for here:

As far as launching an application into tomcat is concerned, it doesnt matter whether its public or private, youll launch your app in the same way - this will most commonly be by packaging your web app into a deployable file (a WAR for instance) and putting it into the correct directory on your Tomcat istallation.

As I said in my post above, there are a lot of questions you are asking here, how to setup a live web server, how to launch an application to Tomcat.

I hope this points you in the right dorection though.


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
JAVAnewbieAuthor Commented:
hmm.. guess that's good enough to get me started ;-)
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.