• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    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. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Question Does Plesk has Standard Hooks system like cPanel?

Alnaggar

New Pleskian
Hello, In the mean time I'm using cPanel because of the cPanel's Standard Hooks system
which allow me to make a custom script and triggers it with account creation. ( How To Automatically Install WordPress On New Accounts. )

My script can clone a custom designed WordPress website to new created cPanel user automatically. Just copy your WordPress website files into source path(/root/tmp/wp_src/) and export your WordPress database into a SQL text file and upload into source path(/root/tmp/wp_sql/wpdb.sql). You may change the source path if you like, and adjust any options as your wish.

My current script capable to:
(1) rsync wordpress files from source path:/root/tmp/wp_src/ to cPanel user's public_html/
(2) use uapi command to create cPanel user's WordPress database with the following values:

DATABASE: {CPUSER}_wpdb USERNAME: {CPUSER}_wpuser PASSWORD: ****(random) HOSTNAME: localhost

(3) Import WordPress SQL content from file:/root/tmp/wp_sql/wpdb.sql into above database.
(4) Change configuration of public_html/wp-config.php with above database information.
(5) Change WordPress administrator user(admin)'s password with random password(or with cPanel user's password).
(6) Update WordPress settings: HOME_URL and SITE_URL with the new created domain information.
(7) cPanel user can discovery/manage WordPress with cPanel addon "WordPress Manager".

How can I achieve this with Plesk? I have checked the automatic installation after user creation in WP toolkit but it creates new installation or with custom plugin/themes set only. I want it to create a pre designed WordPress version for customer. I really like Plesk and I want to move but this automatic site creation is a big deal for me. I'm using WHMCS to sell pre designed and managed Woocommerce stores. check out my script and tell me if can achieve this functionality with Plesk:
 
Last edited:
Back
Top