• We value your experience with Plesk during 2026
    Please help us understand which Plesk features made your work easier this year, what is still missing and how AI should help you in Plesk ?
    Take this short 5-minutes survey. Your answers go straight into the Plesk roadmap for 2027.

Auto Create Sub Domains

D

DiNo_r

Guest
Hi,

I have a question for you, this problem has been bugging me for a while now.

I am running Plesk on a windows server, and my site requires users to register to use it. At the moment, i receive the registration request and have to manually create the users sub domain. is there any way through plesk or through coding (preferably ASP) to automate this process?

Looking forward to hearing from you peeps!

Rich
 
Hi, Rich!

Actually, there are 2 ways to make this:

1. You can use Creation Utilities. These are command line executables that perform changes to plesk configuration. You can find more info on them here:
http://download1.swsoft.com/Plesk/Plesk7.5/Windows/Docs/plesk-7.5-win-advanced-features-manual/
2. Also, you can use Plesk API, that can be used from remote server too. To run it, you can use the Perl or PHP code we have as a sample. For details, please, see
http://download1.swsoft.com/Plesk/Plesk7.5/Doc/plesk-7.5r-sdk-html/docs/plesk_agent/index.html

Hope, this helps :)
 
Thats great.... but i am not too much of a php/perl programmer.

I am looking to create an email address and subdomain based upon online users registering through the site automatically. Is there any chance you can provide me with some example code for these processes?

Thanks in advance.
 
Back
Top