Creating a personal URL for all users to my site
- by Abs
Hello all,
When a user registers with my site I want to offer them a login page and a user area with the URL:
http://user1.mysite.com
http://user2.mysite.com
http://user3.mysite.com ...
I did a google search for this but I wasn't sure of the right terms...
How can I do this without having to actually create lots of subdomains - I am sure its not done this way - is it URL re-writing? Apache mod_rewrite?
If so can someone give me an example please or is there a better way of doing this?
Btw, I am using Codeigniter - if Codeigniter has something that can do this, I would rather use that.
Thanks all for any help