Create a CNAME DNS Record
Info: This guide is to update resources to point towards a custom SSL domain.
-
Make sure you have added a resource first by following Setup Your First CDN.
-
Login to cPanel - Select Advanced DNS Zone Editor. Add a Record by inputting your SSL domain in the name field, e.g. ssl.demo123.org. Input 14400 for TTL, type is CNAME, and CNAME is your resource, e.g. cdn.mysite.com - Then click Add Record.
-
Once added it can take up to 2 hours for the DNS to update and point your resource to your domain, but when it does a lock symbol will appear, signifying content is being delivered securely.
-
Please note, if you are using a CMS plugin for the CDN please do the following: Always enable SSL support, modify attachment URLs to your top level domain, e.g. yourwebsite.com, and purge all assets by following the Purge Cache guide.