How to do personal domains like del.icio.us

Hi,

I am looking for a solution in my application, i want to provide a personal "domain" to my users just like del.icio.us do, i don't want a subdomain, i just want that people can choose to show some information and give other people a link like www.myapplication.com/name_of_user.

i want to transform =>

www.myapplication.com/name_of_user

to

www.myapplication.com/users/1

what is the correct approach ?

thanks,

Cristian Vasquez Medellin - Colombia

1. Use subdomains and cname records. 2if name unic, in your model write def to_param     name end

Cristian Vasquez wrote:

I am looking for a solution in my application, i want to provide a personal "domain" to my users just like del.icio.us do, i don't want a subdomain, i just want that people can choose to show some information and give other people a link like www.myapplication.com/name_of_user.

Have a look at this article which shows how to have unique user URLs as either subdomains (without changes to web server or cname records) or as directory path names:

-- gw