Sub Domains using Routing?


Let us say when a user signs up, I dedicate a sub domain to it. So to
do this do I need to use routing or something else? Will I be able to
test it on ‘localhost’? Will their be server settings that I’ll need
to change?

Any help or link to tutorial or documentation would be appreciated.

With Warm Regards,
Thanking You,
Prateek Saxena


I just saw this one yesterday, it looked fairly good: