• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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