This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Pages: [1]
1
CWP API / Re: CWP api admindomains add subdomain
« on: June 25, 2025, 09:39:42 PM »
I'm facing the same problem
Creation subdomain (with SSL) through API --> the vhost DocumentRoot ends with error path
If I not choose SSL (API), the vhost path is OK
If i create the subdomain from CWP panel, (with SSL) the subdomain vhost path is OK
Example:
With API without SSL: vhost: DocumentRoot /home/<user>/folder1
With API with SSL: vhost: DocumentRoot /folder1
In the first second of API process, the non ssl subdomain vhost creation es OK
Then, after the SSL process, the non ssl subdomain vhost is replaced by the one with path with error
Both vhosts (SSL and Non SSL) end up with wrong path
Creation subdomain (with SSL) through API --> the vhost DocumentRoot ends with error path
If I not choose SSL (API), the vhost path is OK
If i create the subdomain from CWP panel, (with SSL) the subdomain vhost path is OK
Example:
With API without SSL: vhost: DocumentRoot /home/<user>/folder1
With API with SSL: vhost: DocumentRoot /folder1
In the first second of API process, the non ssl subdomain vhost creation es OK
Then, after the SSL process, the non ssl subdomain vhost is replaced by the one with path with error
Both vhosts (SSL and Non SSL) end up with wrong path
Pages: [1]