How to create a Sub domain in Rackspace

hi all, i’m using a Rack Space server now i want to create a sub domain for my rails app.can any one help me out i have Google it but did not get correct link which can help me.

Thanks in advance

it Nginx