If you got a web hosting with the cpanel, you may find the url forwarding. There are two popular ways to make a url forwarding. One uses a subdirectory, and the other uses a subdirectory.
When I first time knew the url forwarding, I was interested in how it works. I think there are a lot of people who may be interested in to as me, so I try to discuss that in the thread.
When you have a cpanel, you may create a subdomain and forward it to a target url. May anyone provide his experience about how to use scripts, such as php, to implement a automatic service for others?
Using url forwarding by a directory could be much easier than the sundomain. A set of PHP scripts could implement such a service. Whenever a name is registered, a directory named as the registered name and a redirection file for forwarding, i.e. index.html or index.php, will be copy into said directory. Thus, when someone use a url such as http://domain/name, the redirection file will be responsed.
May anyone share some experience about this or related scripts here?

