Enom has an API for resellers that can allow you to automatically register a domain as a user. (I have no connection with eNom, and I have not used eNom products).
Implementation * .weebly.com
Typically, this form of dynamic subdomain will use a wildcard DNS entry . This type of record maps a lookup pattern, for example *.example.com, to one or more servers.
Let's say you have a blog site and you want users to choose domain names dynamically. You host a web page on www.example.com with a form to allow users to select names. Thus, the user subscribes and selects bar.example.com.
Suppose your DNS server has the following mappings:
foo.example.com > 1.2.3.1
*.example.com > 1.2.3.2
foo.example.com 1.2.3.1, , bar.example.com, 1.2.3.2. , http://bar.example.com, 1.2.3.2. , DNS , : .
, 1.2.3.2, Host , fqdn .example.com bar . , bar.
, , www\d*, mail\d*, ns\d*, www07 .
bar.example.com
bar.example.com , , www.widgetsimakeinmyhome.com, . , EasyDNS . API-, . RESTful , , API HTTP, , (, urllib2).
, , , bar, . www.widgetsimakeinmyhome.com bar.
Host , , .