Automatic Subdomain Creation

Hi!! I wanted to know that, how can i create a automatic subdomain through Cpanel as soon as the user registers his profile in my website?? Gone pretty much through googling but nothing works out.:frowning:

The term you’re looking for is β€œwildcard subdomain”. :slight_smile:

You will need to check if your web hosting supports it - many do not.

Hey Anita,

I had kind of research on this before but later the client changed his mind to creat the sub domain from script. But had bookmarked a link which might be helpful to you:

Go through this once. Or google with this with these keywords.
http://www.google.com.np/search?q=cpanel+api+to+create+sub+domain

yeah i created something like that a while back in php4 you need to use Cpanel API check out their forum you might find a php5 class.