• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Plesk 9.5 API - NooB

A

Anzarr

Guest
Hi

I found the api example code on the help section but im totaly lost.

For my final year project at uni im creating a web hosting site. Im using the plesk control panel 9.5

On the front of my website i want users to able to check if a certain subdomain is available and if so register it
e.g whatever.mysite.com

I appreciate your help and thank you in advance

Kind regards

Anzarr
 
You may be better off plugging into a registrars API, like enom or godaddy or something like that to check for domain availability and registration. Subdomains can not be "registered" as only 2nd level domains in most TLDs can be registered (except for .Name, us.com and the other central nic gTLDs, etc)

You would use the Plesk API to create virtual hosting for a specific domain or sub domain
 
Back
Top