Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have one VPS server with cpanel/whm installed. i want to host one python/django and one J2EE based website on that server. is it possible.

I know that i have run thoseweb server at different ports but can users still see the site by typing http://www.java.com rather than http://www.java.com:8080

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

You can easily have mod_php and mod_wsgi (for python) running on the same apache install and then proxy pass requests for java to port 8080 which like tomcat/jboss will run on.

Should be no problems. You just want to make sure your ram is enough for your services that will run

share|improve this answer
    
I have 1GB RAM on VPS , is that enough for that –  Mirror51 May 24 '11 at 4:58
    
really depends on your traffic and what memory footprint your app(s) use –  Mike May 24 '11 at 5:04
    
I don't have any high traffic sites , just20-30 visits per month. applications are just personal –  Mirror51 May 24 '11 at 5:16
    
J2EE applications are high memory users, I would be careful as 1gb may not be enough for both applications to run well. –  n8whnp May 24 '11 at 9:43
add comment

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.