Introduction
cPanel update mirrors control how cPanel retrieves the managed files for updates. You can specify a custom mirror or define a mirror individually in a configuration file.
Procedure
- Identify a list of mirrors available with the command:
host httpupdate.cpanel.net
- Edit or create file /etc/cpsources.conf with the following contents:
HTTPUPDATE=$IP
Note: Replace $IP with a desired IP from the first command.
- Run the update command to retrieve updates from the custom defined mirror:
/scripts/upcp