Sym linking problem

Hi everyone,

              I am hosting with hostmonster.com. As per their tutorials I have created a Rails folder in my root directory and created apps in it. Now I need to create a sub domain and sym link the public/ folder of my Rails app to my sub domain/

I use.

username@mydomain.com [~/public_html/mydomain]$ ln -s /home/ myusername/rails/appname/public/ subdomain

Now by using the above sym link I am linking the public/ folder to my subdomain/. But the problem is I am getting the public/ folder inside my subdomain/ directory.

I just want the files inside the public/ to be symlinked to subdomain/.

Due to this my http://subdomain.mydomain.com/public/

is showing the index. Any help in this regard is much appreciated.

Thank you

Can some one please help in this problem...... please