Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have linuc VPS server.

I want to know that is it possible that i can host multiple java j2ee sites on that

share|improve this question
Define "J2EE"? Are you just running servlets or do you need EJBs and everything else provided by a full J2EE container? – Corey S. Feb 24 '11 at 12:40

By VPS do you mean Virtual Private Server?

If this is the case, yes, you can host multiple java j2ee sites. Hosting sites depends on the application server installed on the server. And any app server (at least the most commons ones) will allow you to host multiple sites.

Assuming that you have root access to you VPS, you could install glassfish and setup multiple domains on it. Take a look at this site for further information. This how to can help you understand the big piture.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.