19 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
62
views
How to Manage Contact Email for cPanel Email Accounts Using WHM or cPanel API?
I'm working on an internal support tool at my organization to help manage cPanel email accounts under our primary domain.
So far, using the WHM API and the Email::listpopswithdisk function, I've been ...
0
votes
1
answer
90
views
I need to send an http request from Laravel 10 to cPanel UAPI to create a new email
According to the cPanel documentation:
To call a UAPI function with an API token, run the following command from the command line:
curl -H'Authorization: cpanel username:APITOKEN' 'https://example....
1
vote
0
answers
336
views
Host .Net Core 6 application on CPanel
I need to host .Net Core 6 application on CPanel. The only solution I found is to install Nexucore in CPanel in suggested. But unfortunately NexusCore is not available anymore. Please suggest an ...
0
votes
0
answers
119
views
How do I call CPanel API from separate website
After reading as much as I can from the CPanel documentation and forum posts I have come to the conclusion that what I want to do is not possible but I thought I would have one last try just in case.
...
0
votes
1
answer
121
views
Auto deployment in cpanel repository with git error
I need your help with the next issue: Following cpanel documentation I've created a git version repository on my remote server and i've created cpanel.yml file in the root repository to automathic ...
2
votes
0
answers
137
views
Api for wordpress toolkit in cpanel
I have a shared host with cPanel installed.
Now I want to use CPanel api for wordpress toolkit module, but I can't find api document for it.
Do the modules in cPanel have api?
2
votes
0
answers
445
views
Using API token to access the CPanel UAPI returns access denied
I am trying to dynamically create email accounts for users via the CPanel API. According to the documentation here, an access token can be used to call the API endpoints. I have an access token ...
0
votes
1
answer
1k
views
Where to find CPANEL object file Path on Localhost and Live server
sorry if my question might sound silly. I am trying to create an email address with Cpanel UAPI with LiveAPI.php but I seem to be lost on some codes.
The documentation to create email address is ...
5
votes
4
answers
5k
views
how to edit document root of subdomain in bluehost CPanel
Hope someone could help, am new to bluehost and had a shared hosting subscription. Now my issue is how to modify the subdomain document root.
example: from public_html/sub to public_html/sub/public
...
0
votes
1
answer
376
views
Invalid JSON response from cPanel API
I am using the cPanel UAPI but for some reason I am not receiving a valid JSON response with the additional curly braces and other quotations. I have tried different commands and on different servers ...
0
votes
1
answer
67
views
cPanel login / passwords
I try to understand. We have 1 cPanel, so domains.
I have users and passwords at:
/home/{USERNAME}/etc/{HOSTNAME}/passwd
/home/{USERNAME}/etc/{HOSTNAME}/shadow
What's login for cPanel ? {USERNAME}@{...
0
votes
1
answer
112
views
i am using a Cpanel UAPI but whenever i use this api it returns me an error that unable to find get_lists_total_disk_usage in email category
$cpanel = new CPANEL(); //login details
// Return the total disk usage for the mailing lists of a cPanel account.
$variable = $cpanel->uapi(
'Email', 'get_lists_total_disk_usage'
);
...
0
votes
0
answers
46
views
how do I getting data from stdObject
$cpanel = new cPanel('username','pass','domain');
$bandwidth_report = $cpanel->uapi(
'Bandwidth', 'query',
array(
'grouping' => "domain|year",
'...
0
votes
2
answers
17k
views
You don't have permission to access this resource.Server unable to read htaccess file, denying access to be safe
I wanted to updated my Wordpress site, before updating I took backup for the entire website folder and so I installed an updated theme but later I decided to remove the update by deleting the whole ...
0
votes
0
answers
118
views
export cPanel full backup using API2 and UAPI in GO
i am able to create, restore, list full backup from cPanel using API2 and UAPI but i'm not able to export created backup tar.gz file from cPanel using API2 and UAPI in GO.
func (c CpanelApi) ...