Questions tagged [cpanel-uapi]
21 questions
                    
                    3
                    
            votes
                
                1 answer
            
        How to create database programmatically in WHM/Cpanel using php code?
I had xmlapi code before 1.5 years ago and working perfectly till 6 months before. Suddenly, it stopped working with no error. Now, I read that xmlapi has been deprecated and uapi is being used. Now, I prepare code as per - cpanel-UAPI-php-class…
        
        Veshraj Joshi
        
- 3,544
 - 3
 - 27
 - 45
 
                    2
                    
            votes
                
                0 answers
            
        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 generated already but I keep getting acccess denied. I…
        
        emmaakachukwu
        
- 515
 - 1
 - 7
 - 16
 
                    2
                    
            votes
                
                3 answers
            
        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
also when i created a subdomain it doesn't even…
        
        Edson
        
- 109
 - 1
 - 7
 
                    1
                    
            vote
                
                0 answers
            
        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?
        
        ma ja
        
- 333
 - 4
 - 15
 
                    1
                    
            vote
                
                0 answers
            
        Is there a method to create a redirect using a Cpanel API?
Using Cpanel xMLAPI Client Class or Cpanel API 1 or 2 or any other method - looking for a way to redirect a url using PHP. 
I assume any of these methods just adds to a mod_rewrite in .htaccess file.
ex. mysite.com/myfolder ->…
        
        WGS
        
- 199
 - 4
 - 17
 
                    0
                    
            votes
                
                0 answers
            
        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 alternative or a workoround to make it work.
Thank…
        
    
                    0
                    
            votes
                
                0 answers
            
        Error installing SSL Certificate using cPanel Terminal install_ssl through UAPI
I have used terminal in my cPanel to install (and auto-renew) ZeroSSL (Let's Encrypt) certificates for many domains.  Today, when I tried to do the same, it gave me an error and continues to do so for any domain that I try to install through this…
        
        Asuriyan Nagan
        
- 1
 - 1
 
                    0
                    
            votes
                
                0 answers
            
        how to configure Cpanel to fix the is not allowed by Access-Control-Allow-Origin. on safari
Hi there,
I working on my own WP theme but have the challenge of loading images and the consol record show as attached images(it's happen with Safari only and my website using )
I would like to ask how should I reconfigure my site on Cpanel to fix…
        
    
                    0
                    
            votes
                
                0 answers
            
        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.
I have a server that hosts a number of domain…
        
        MGB
        
- 31
 - 1
 - 6
 
                    0
                    
            votes
                
                0 answers
            
        Authentication using UAPI cPanel
I see the current account authentication here
https://api.docs.cpanel.net/openapi/cpanel/operation/configured_modules/
But how can I authenticate another account with username and password?
        
        dream fly
        
- 1
 - 1
 
                    0
                    
            votes
                
                0 answers
            
        How can I use Cpanel UAPI now?
I use this class for connect to my cPanel and it worked 2 days ago
https://github.com/N1ghteyes/cpanel-UAPI-php-class/blob/master/cpaneluapi.class.php
But now it doesn't work
Who can tell why it does not work?
I can't get any results at the…
        
        dream fly
        
- 1
 - 1
 
                    0
                    
            votes
                
                1 answer
            
        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 deploy any push in the public directory as indicated…
        
        Marisol patito
        
- 39
 - 9
 
                    0
                    
            votes
                
                1 answer
            
        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 gotten from…
        
        Shasha
        
- 439
 - 8
 - 26
 
                    0
                    
            votes
                
                1 answer
            
        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 and it's the same thing so I'm sure it's…
        
        user3079103
        
- 49
 - 1
 - 7
 
                    0
                    
            votes
                
                1 answer
            
        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}@{HOSTNAME} ? or what ?
        
        Stack Kek
        
- 3
 - 1