You can create a domain via whm >> Account Functions >> Create a New Account. [link for accessing whm: https://ipaddress:2087/] The steps for creating an account are given below: 1. Click on the Create a New Account link in the Account Functions menu. 2. If you want to use a predefined package for this account, […]
Category: Cpanel
Cpanel scripts
When cPanel & WHM is installed, a number of predefined scripts become available in your server’s /scripts directory. One can use any of the scripts simply by typing its location in a terminal session. For example, if we wanted to run the update script, we would type:
1 |
/scripts/upcp |
The available scripts are:-
1 2 3 |
build_maxemails_config — Sets limits on the amount of email that users can send from domains on your server. easyapache — Upgrades and reinstalls Apache. phpextensionmgr — Manages PHP extensions. |
1 2 3 4 5 6 7 8 9 10 11 |
<b>*up</b> — Updates a service. The following update scripts are available for the services noted: courierup — Courier mail server. cpaddonsup — cPanel’s addon scripts. dovecotup — Dovecot mail server. eximup — Exim mail exchanger. ftpup — FTP servers (ProFTP and Pure-FTP). imapup — IMAP mail server. mysqlup —MySQL service. nsdup — BIND nameserver. phpup — Current version of PHP. suphpup — SuPHP tool for handling PHP requests. |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
<b>restartsrv_*</b> — Restarts a service. simply replace the asterisk (*) in restartsrv_* with the term: apache — Apache web server. bind — BIND nameserver software. chkservd — cPanel’s TailWatch log processing service. clamd — ClamAV anti-virus software. courier — Courier mail server. cpdavd — cPanel’s WebDAV server. cppop — cPanel’s POP server. dovecot — Dovecot mail server. entropychat — Entropy chat client. exim — Exim mail exchanger. eximstats — Exim mail statistics tracker. ftpserver — FTP server. httpd — Apache web server. imap — IMAP server. inetd — Super-server daemon for managing Internet services. interchange — Interchange e-commerce software. ipaliases — IP aliasing software. melange — Melange chat client. mysql — MySQL database server. named — BIND nameserver software. nsd — Open-source NSD nameserver daemon. postgres — PostgresSQL database service. postgresql — PostgreSQL database service. proftpd — ProFTP server daemon. pureftpd — Pure-FTP server daemon. rsyslogd — Open-source log forwarder daemon. spamd — Spam-deferral daemon. sshd — Secure shell daemon. syslogd — Log forwarder daemon. tailwatchd — cPanel’s TailWatch log processing service. tomcat — Apache Tomcat service. xinetd — Open-source super-server daemon. |
[…]
Chkservd service
Chkservd is a service running on Cpanel servers. It monitors other service, if any of the service that is monitored by chkservd is found down, chkservd will restart the service and notify server admin. You can enable/disable services to be monitored by going to Service Configuration >> Service Manager in WebHostManager. Alternatively, you may configure […]
Change IP address of a domain
You can change the IP address of a domain via WHM and from back-end. Via WHM – Recommended 1. Log in to the WHM as root/reseller. 2. Move to Change Site’s IP Address under Account Functions. 3. Select the domain and click Change. 4. In the window that follows, select the IP address to […]
Changing cPanel account password
You might have come across multiple errors after a simple account password change. This KB article helps you to get it done with ease. You may change the password via shell/WHM/cPanel, as explained below:- Shell/ Back-end If you have the shell access, you may run the following cPanel scripts.
1 2 |
/scripts/chpass username passwd /scripts/ftpupdate (you should run this script too to sync the new password in ftp conf files) |
WHM 1. Login to WHM. […]
Change FTP port
This article helps you to change the FTP port in a cPanel server. Pure-FTP 1) Edit /etc/pure-ftpd.conf and look for the following line:
1 |
Bind addr port |
Where addr is a publically routable IP. The default example, 127.0.0.1, will cause the socket to bind locally but then this connection won’t serve externally. port is the new port you […]