# How to...Have a proxy URL

**URL:** <https://www.ruby-forum.com/t/how-to-have-a-proxy-url/161229>\
**Category:** Rails\
**Created:** [February 24, 2009, 2:13pm UTC](https://www.ruby-forum.com/t/how-to-have-a-proxy-url/161229 "2009-02-24T14:13:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![zeba-momin](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/z/8e7dd6/32.png) [@zeba-momin](https://www.ruby-forum.com/u/zeba-momin)\
**Post date:** [February 24, 2009, 2:13pm UTC](https://www.ruby-forum.com/t/how-to-have-a-proxy-url/161229/1 "2009-02-24T14:13:27Z")

</div>

Hi…  
My application can be accessed at:  
[http://localhost:3001/main/home?locale=en-US](http://localhost:3001/main/home?locale=en-US)

I’m running it on mongrel server…  
Also I need to pass the locale parameter…only the first time…

But I want my URL to be more user friendly as:  
[http://myapplication.com](http://myapplication.com)

Can anyone please tell me how do I this???

Thank You…

---

<div class="post-metadata">

**Author:** ![zeba-momin](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/z/8e7dd6/32.png) [@zeba-momin](https://www.ruby-forum.com/u/zeba-momin)\
**Post date:** [February 24, 2009, 4:45pm UTC](https://www.ruby-forum.com/t/how-to-have-a-proxy-url/161229/2 "2009-02-24T16:45:51Z")

</div>

You need to run it behind a webserver such as apache or nginx

Google rails + mongrel + apache

or rails + nginx

or rails + passenger

On Feb 24, 8:13 am, Jeba M. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)
