From: Jano Svitok Date: 2008-07-01T19:36:24+09:00 Subject: Re: How can I run url without using port ? On Tue, Jul 1, 2008 at 12:04, Zangs Dev wrote: > Zangs Dev wrote: >> Hello, >> >> I have developed 2-3 sample ruby application... >> >> and my server name is like http://www.mydomain.com >> >> Now when I run one of my the ruby application say "first_app", >> then I have to use http://www.mydomain.com:3000/ >> >> And for the 2nd application I have shutdown the service for first one >> and then have to start service for 2nd app. >> And have to use same url http://www.mydomain.com:3000/ >> >> Any one can help me what should I do if I want to run the url like >> http://www.mydomain.com/first_app >> >> http://www.mydomain.com/second_app Hi, 1. is your application written in Ruby ON RAILS? This question is important because there are many frameworks for this and the solution to your problem depends on the framwork used. 2. If it is rails indeed, you might want to check Rails-specific forum (google for rails-talk) There are people with specific knowledge that can help you better. 3. If it is rails: for start, edit your environment.rb so that you use different ports for your apps. 3000 for the first, 3001 for the second, etc. To use /first_app, etc. you need to have another server proxying the requests to your apps. There are a lot of tutorials out there. GIYF, keywords: rails multiple apps, more keywords: mongrel, reverse proxy, load balancer, ngnix, lighttpd J.