Custom Domain

Every Files.com site gets a custom subdomain that looks something like this:

<your-subdomain>.files.com

Customers can take their site customization a step further — removing all traces of Files.com branding — by setting up a completely custom domain. Something like:

files.<your-domain>

Files.com makes the process of setting up a custom domain easy. Note that you will need both administrator access to your Files.com site, as well as access to your account with the DNS provider for your domain (e.g. GoDaddy, NameCheap, Route 53, etc.)

Choose your custom domain

You can use any subdomain of any domain that you control. We recommend not using ftp as the first part of your domain (such as ftp.<your-domain>), since this will cause some browsers to improperly access the Files.com web interface.

Instead, we suggest using something like files.<your-domain>.

Set up the CNAME record

Once you have chosen your custom domain, the next step is to set up a CNAME DNS record with your DNS provider, pointing your chosen custom domain to the appropriate Files.com subdomain. The CNAME value will depend on whether you want your custom domain to use an SSL certificate provided by Files.com (recommended), or use your own SSL certificate.

Using an SSL certificate provided by Files.com

Files.com provides SSL certificates for custom domains free-of-charge. Renewals are handled automatically, and no further action is required on your part to keep the certificate active once set up.

To set up your custom domain to use an SSL certificate provided by Files.com, simply create your CNAME record pointing your custom domain to your Files.com subdomain (e.g. <your-subdomain>.files.com).

Once you have created the CNAME record, you can complete the setup of your custom domain by adding your custom domain in Files.com.

Using your own SSL certificate

If you prefer to use your own SSL certificate rather than one provided by Files.com, you will first need to upload and activate your SSL certificate at Settings > Integrations > Manage SSL certificates.

If you have already obtained your SSL certificate, simply click the Upload and use your own certificate button to upload it. You will need to provide the certificate’s private key (and key password if the key is encrypted), the certificate itself, and the intermediate certificates from your certificate authority.

If you haven’t yet obtained a certificate, you can use the Generate CSR link to generate a new secure keypair and certificate signing request (CSR) which you can provide to any accredited SSL Certificate authority when purchasing an SSL certificate.

After uploading your SSL certificate, click the Activate button to activate it. Once your SSL certificate is active, the CNAME record value to use will be displayed under DNS Configuration.

Note that in the example screenshot above, the CNAME value for the files.example.com custom domain is s-example.di.app.files.com.

Once you have created the CNAME record, you can complete the setup of your custom domain by adding your custom domain in Files.com.

Note: If you set up your custom domain using your own SSL certificate, and later wish to switch to using a certificate provided by Files.com, you can easily do so by deactivating your SSL certificate at Settings > Integrations > Manage SSL certificates, and then updating your CNAME record according to the instructions for using an SSL certificate provided by Files.com.

Add your custom domain in Files.com

Finally, to complete the setup of your custom domain, you’ll need to enter your custom domain at Settings > Site Identity > Custom Domain, and click the Save button to apply the change.

Note: Custom domain and SSL certificate changes typically take effect within minutes, though in rare cases these may take up to 48 hours. You and your users can continue to access your site at your custom subdomain in the meantime without interruption.

Dedicated IP addresses

As part of the custom domain setup process, Files.com automatically provisions two dedicated IP addresses that are exclusive to your site. This means that if you have users who restrict outbound access via a firewall, they will only need to whitelist your two dedicated IP addresses in order to access your site via the custom domain, rather than having to whitelist our entire published list of IP addresses.

You can view your dedicated IP addresses at Settings > Integrations > View firewall configuration information.

Note: While dedicated IP addresses are exclusive to your Files.com site, they should not be considered to be static IP addresses, as they may change without notice. In general, we do not support or recommend that any of our customers use IP addresses directly in their client applications.