• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

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