Skip to content

CDN on a Custom Domain - Alias

If the location of the content distributed via CDN on the vshcdn.net domain is not suitable, e.g. due to the need to edit all links to the content in the application, it is possible to use an alternative solution in the form of CDN settings on your own domain - Alias.

For example, for the domain img.webshop.com

Configuration overview

Original website without CDN: webshop.com

CDN domain: webshopcom.vshcdn.net

Alias ​​for displaying static content: img.webshop.com

Instructions

In the webshop.com domain settings, click the "Add new alias" button and a dialog for adding it will open. Insert the required value, i.e. img.webshop.com*

Add a CNAME record for img.webshop.com and the value webshopcom.vshcdn.net to the DNS of domain webshop.com

After the changes are published, a Let's Encrypt certificate for the img.webshop.com domain will be automatically generated. Then you can set the app to call static content through that domain.