• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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