Monday, February 21, 2011

Ports that must be open to run cPanel behind a firewall

Which ports should be open if I'm running my cPanel server behind a firewall?

Ports that must be open to run cPanel behind a firewall:

    * 20 — FTP TCP inbound/outbound
    * 21 — FTP TCP, UDP inbound/outbound
    * 22 — SSH TCP inbound
    * 25 — SMTP TCP inbound/outbound
    * 26 — SMTP TCP inbound/outbound
    * 37 — rdate TCP outbound
    * 43 — whois TCP outbound
    * 53 — DNS TCP/UDP inbound/outbound
          o (inbound is only needed if you run your own public DNS server)
    * 80 — HTTP TCP inbound/outbound
    * 110 — POP3 TCP inbound
    * 113 — ident TCP outbound
    * 143 — IMAP4 TCP inbound
    * 443 — HTTPS TCP inbound
    * 465 — SMTP TLS/SSL TCP/UDP inbound/outbound
    * 783 — SpamAssassin TCP/UDP inbound
    * 873 — rsync TCP/UDP outbound
    * 993 — IMAP4 SSL TCP inbound
    * 995 — POP3 SSL TCP inbound
    * 2077 — WebDAV TCP/UDP inbound/outbound
    * 2078 — WebDAV SSL TCP/UDP inbound/outbound
    * 2082 — cPanel TCP inbound
    * 2083 — cPanel SSL TCP inbound
    * 2086 — WHM TCP inbound
    * 2087 — WHM SSL TCP inbound
    * 2089 — cPanel license TCP outbound
    * 2095 — Webmail TCP inbound
    * 2096 — Webmail SSL TCP inbound
    * 3306 — MySQL TCP (only if you need to connect remotely)
    * 6666 — Chat TCP inbound

Saturday, February 12, 2011

SyncBackPro Example Fast Backup Configurations

Example Fast Backup Configurations


Incremental Backup - An Incremental Backup just backs up the data which has its Archive bit set, or has been changed since the last full or incremental backup (see also Differential Backup). In SyncBackPro, incremental backups are possible using Fast Backup profiles.

Differential Backup - Differential backups include backing up all files that have changed since the last full backup. Hence to restore all your data, all you would need are the last full and differential backups. The difference between differential and incremental backups is that incremental backups include only the files that have changed since the last full or incremental backup (see also Incremental Backup). In SyncBackPro, differential backups are possible using Fast Backup profiles.



The following section provides example backup configurations.

--------------------------------------------------------------------------------

To keep 7 days worth of backups, and have a full-backup on Mondays and incremental backups on all the other days of the week:

· Create a backup profile and configure your source as appropriate

· Set the Destination to something (the %DAYOFWEEK% is required) like D:\My Backups\%DAYOFWEEK%\

· Go to the Fast Backup tab and enable the options: Perform a fast backup and Delete all the files and folders in the destination before the backup, and set the full-backup folder to D:\My Backups\1\

· In the "Force a re-scan when:" box select the %DAYOFWEEK% item, select Equals from the drop-down list to the right of the box, and enter 1 into the box to the right of the drop-down list (we use 1 because Monday is day 1, Tuesday is day 2, etc).

· You should schedule the profile to run just once every day

--------------------------------------------------------------------------------

To keep 7 days worth of backups, and have a full-backup on Mondays and differential backups on all the other days of the week:

· Create a backup profile and configure your source as appropriate

· Set the Destination to something (the %DAYOFWEEK% is required) like D:\My Backups\%DAYOFWEEK%\

· Go to the Fast Backup page and enable the options: Perform a fast backup, Differential backup (do not update the fast backup data), Delete all the files and folders in the destination before the backup, and set the full-backup folder to D:\My Backups\1\

· In the "Force a re-scan when:" box select the %DAYOFWEEK% item, select Equals from the drop-down list to the right of the box, and enter 1 into the box to the right of the drop-down list (we use 1 because Monday is day 1, Tuesday is day 2, etc).

· You should schedule the profile to run just once every day

--------------------------------------------------------------------------------

To keep 7 days worth of backups and have full-backups for each day:

· Create a backup profile and configure your source as appropriate

· Set the Destination to something (the %DAYOFWEEK% is required) like D:\My Backups\%DAYOFWEEK%\

· Go to the Fast Backup tab and enable the options: Perform a fast backup and Keep fast backup data based on the actual destination directory

· Go to the Decisions - Files page and configure the profile to delete files from the destination that do not exist on the source. This ensures that your backups don't get cluttered with redundant files.

· You should schedule the profile to run just once every day

--------------------------------------------------------------------------------

To keep full-backups on a set of disks:

· Create a backup profile and configure your Source as appropriate

· Set the Destination, e.g. X:\%SERIAL%, where X: is a drive that accepts removable media, e.g. a CD/DVD drive, Zip drive, floppy disk drive, etc.

· Go to the Fast Backup tab and enable the options: Perform a fast backup and Keep fast backup data based on the actual destination directory

· Go to the Decisions - Files page and configure the profile to delete files from the destination that do not exist on the source. This ensures that your backups don't get cluttered with redundant files.

· Each time you run the profile use a different disk. You could keep 10 days worth of backups by rotating a set of 10 disks. Each disk will have a complete backup.

Sunday, February 6, 2011

cPanel IP Migration

 Change the IP addresses of all of the cPanel accounts hosted by your server.

  1. Obtain new IP addresses.  At least two are require.  One for web & DNS server and the second for the second DNS server.  A third is recommended for a firewall.
  2. Contact IP provider and have host name/reverse DNS changed to infotechcommunications.com