For example, my site is http://example.com, and a user's site is created at http://example.com/site.php?blog_id=1234 (1234 is his site id). When this user add his own domain to his account, say example2.com (his own domain), and update his domain's A records to point to my server IP, he can enter [example2.com...] and go to his site like when he enter http://example.com/site.php?blog_id=1234.
How can this be implemented with cPanel/WHM, Apache? Or if you could refer me to some useful information on this I would be grateful. I'm a programmer so sorry for my ignorance.
Thanks for any reply :)
[edited by: buckworks at 6:58 am (utc) on June 28, 2007- Used Example.com - it will never be owned]
[edited by: Webwork at 10:49 am (utc) on July 2, 2007]
[edit reason] Generalized issue [/edit]
You'll most likely need to use mod_rewrite, as well as set some configuration option or options in your service/software.
[edited by: Webwork at 10:50 am (utc) on July 2, 2007]
[edit reason] Generalized issue [/edit]
@vincevincevince: thanks very much for your solution, seems like I can figure out how to make it the way you describe :)
If anyone has any other solution please post it here. That would be nice to learn more about this.
[edited by: Webwork at 10:51 am (utc) on July 2, 2007]