Tuesday, September 20, 2011

Removing a directory using XML-API

December 30, 2010 by  
Filed under cPanel

Leave a Comment

In the previous article, we have shown you how to connect to cPanel’s front end (2082/2083) ports. In this article we will show you how to delete a directory in your file system using XML-API in PHP. Let’s say you want to delete a directory named ‘deleteme‘ in public_html directory.  So the path is /home/USER/public_html/deleteme. [...]

How to connect cPanel’s ports using XML-API (PHP Class)?

December 29, 2010 by  
Filed under cPanel

Leave a Comment

cPanel’s XML-API is a wonderful way of doing stuffs programitically and remotely on its front end (domain owner control panel) and back end (WHM). However, the PHP client of XML-API, by default, connects to WHM Ports! If you are wondering how to connect to front end and do stuffs using user’s credentials rather than root [...]

Opening ports in the firewall for the Mail Server

January 10, 2010 by  
Filed under General

Leave a Comment

There are standard ports that are used to access most services. For example, accessing a website generally uses port 80 for normal (HTTP) web pages and port 443 for secure (HTTPS) pages. Smtp Smtp generally uses port 25 for connections although there are recommendations for port 587 (see the official documentation for details). Pop and [...]

Disallow /cpanel, /webmail to be redirected to ssl/tls ports (2083, 2096)

December 4, 2009 by  
Filed under cPanel

2 Comments

If you are getting certificate errors while you are trying to visit http://domain/cpanel, the most probable reason is that the error is regarding the issuer. That is most people usages self-signed SSL certificates for the services. The error is not a big issue comparing to the benefits of using secured over Non-secured connections.  However, for [...]

Enabling passive ftp in Pure-FTPd

August 2, 2009 by  
Filed under cPanel

Leave a Comment

For users that are behind a firewall it might be required that you enable passive ftp in your ftp server and client. While enabling passive ftp in your ftp client is simple, doing so in your ftp server configuration files might be a bit tricky if you don’t know what you are doing. This tutorial [...]