• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

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