--- title: "cPanel / WHM With Wasabi" slug: "how-do-i-use-cpanel-whm-with-wasabi" updated: 2026-09-16T16:06:18Z published: 2026-09-16T16:06:18Z canonical: "docs.wasabi.com/how-do-i-use-cpanel-whm-with-wasabi" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.wasabi.com/llms.txt > Use this file to discover all available pages before exploring further. # cPanel / WHM With Wasabi [cPanel / WHM](https://www.cpanel.com/) is certified for use with Wasabi. cPanel/WHM can connect to Wasabi via the S3 interface. To do so, change your AWS S3 destination to point to Wasabi servers using the procedure below. 1. SSH into your server. 2. Use any text editor to edit the S3.pm file. This file is usually located in a path similar to this on your server. /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib/Amazon/S3.pm > The number 526 in the path changes for different servers. 3. Change [amazonaws.com](http://amazonaws.com/) to [wasabisys.com](http://wasabisys.com/) on the lines below. $self->host('[s3.amazonaws.com](http://s3.amazonaws.com/)') if not defined $self->host; $self->host( 's3-' . $error_hash->{'Region'} . '.[amazonaws.com](http://amazonaws.com/)' ) unless $called_from_redirect; the S3-compatible You can now connect to Wasabi using the S3-compatible option in the Destination Type. ![WHM_S3compatible.PNG](https://cdn.document360.io/bef0a1ea-7768-4d5a-b520-c4fe2f7fafad/Images/Documentation/whm_s3compatible.png) Refer to [Service URLs for Wasabi's Storage Regions](https://docs.wasabi.com/docs/what-are-the-service-urls-for-wasabis-different-storage-regions) for an overview of Wasabi endpoints and to the [WHM Tutorials - How to Use the S3 Compatible Backup Destination](https://www.youtube.com/watch?v=KDUYB8OHdr0) tutorial video for more details. **Note**: If you have enabled MFA, provide the following in the password field (in addition to the password): **/mfa=nnnnnn** Where **nnnnnn** = The 6-digit code from your Authenticator App. For instance: if your password is "Password1" and the 6 digit code from your MFA Authenticator App is 123456: Enter the following in the password field: "Password1/mfa=123456"