Custom Branding & Domain
CloudFiles allows you to completely white-label the document viewer with your company logo and custom domain. In this article, we talk about accessing the settings page, updating brand logo and website and finally setting up CNAME mapping so that we can enable custom domain on your account.
In order to white-label your CloudFiles Document Viewer, you first need to purchase Enterprise license. You can refer to the article to check Purchasing and assigning licenses
In order to set your custom branding & domain, you need to be logged in with your admin account. You can access the CloudFiles Admin dashboard by simply clicking on the gear icon on top right. This is detailed in the steps and the GIF below -
- Click the gear icon ⚙️ on the top right of the navbar.
- Click on the Accounts button in the left sidebar
Once you are in your account page, you can easily set your logo, favicon & website using the steps below -
- Click the edit icon on top to open Account Details Editor
- Upload your logo by clicking on the Upload button on top
- Add your website & account name
- Your favicon will be automatically pulled from our website
Once you have followed these steps, your CloudFiles previews & links should start showing your favicon & logo. Even your old links would update. The customization steps are shown in the GIF below -
For example, if your logo is "iDEMO" and your domain is "idemo.com," so, once you've completed the steps, they will appear as follows:
In order to add your custom domain, you first need to map CloudFiles with your DNS provider. This process is called CNAME mapping and is usually handled by IT teams in large organizations. Although the steps may change based on the DNS provider, here are the main steps to be followed. If you are not the IT admin, it is best to get them involved so they can easily understand and implement these
- Open the DNS settings
- Create a new record with type CNAME
- For that record, host = the subdomain name you want. This can be anything that you like, for example - docs, files etc.
- For value, add cname.cloudfiles.io
- For TTL select 5 minutes. Your new sub-domain will become accessible after this much time.
Once the CNAME Mapping is done, send us an email on [email protected] with the URL that you'd like to use. For example - https://docs.yourdomain.com. We will complete the settings on our side after which white-labelling will be enabled on your account.
After the CNAME mapping is completed on our side, your links will update. Your old links will continue to work but won't redirect to the new links. CloudFiles keeps the link slug same but replaces the prefix. E.g. https://cloudfil.es/slug will become https://docs.yourdomain.come/slug