Operating System & Version
centos 7
cPanel & WHM Version
11.100.0

ana desha

Registered
Feb 28, 2022
2
0
1
USA
cPanel Access Level
Website Owner
hello ,
i am creating online ecommerce SAAS platform , user can create online store within 10 mins .
this platform like shopify ,
user can add his own domain and have it's own store
the problem is with addons domains,
if we user want to add domain we do this manually via cpanel -> addon domain.

we want to make adding domain automatically via cpanel API
how can i do this ?

thanks
 
Last edited by a moderator:

ana desha

Registered
Feb 28, 2022
2
0
1
USA
cPanel Access Level
Website Owner
when use
require_once "/usr/local/cpanel/php/cpanel.php
we can not find this file
i get this error
/usr/local/cpanel/base/frontend/
We can not find this path in cpanel