# How to get Domain to point to subdirectory?

**URL:** <https://www.ruby-forum.com/t/how-to-get-domain-to-point-to-subdirectory/106845>\
**Category:** Rails\
**Created:** [June 14, 2007, 4:24pm UTC](https://www.ruby-forum.com/t/how-to-get-domain-to-point-to-subdirectory/106845 "2007-06-14T16:24:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dkanders](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/7bcc69/32.png) [@dkanders](https://www.ruby-forum.com/u/dkanders)\
**Post date:** [June 14, 2007, 4:24pm UTC](https://www.ruby-forum.com/t/how-to-get-domain-to-point-to-subdirectory/106845/1 "2007-06-14T16:24:43Z")

</div>

Hi All,

I have an application that will have several domains pointing to  
different paths within my application.

For example:  
[www.johndoe.com](http://www.johndoe.com) should point to:  
[http://www.peoplepages.com/people/1](http://www.peoplepages.com/people/1)

or  
[www.sallyjohnson.com](http://www.sallyjohnson.com) should point to:  
[http://www.peoplepages.com/people/5](http://www.peoplepages.com/people/5)

Is there a way to get the domain to point to these subdirectories… but  
NOT show the subdirectory?

(I don’t want the browser to show the path, I just want the browser to  
show [www.johndoe.com](http://www.johndoe.com))

Thanks!  
Dustin
