CDN Configuration Question

Idreams

Member
Hello,

i have recently configured cdn with my xenforo board.
i have created a cname for cdn ( https://cdn.website.com and pointed to azure cdn url https://cdn.azurecdn.net)
azure cdn was configured from azure domain end.
i have edited the config.php files and placed the cdn configuratin url

$config['externalDataUrl'] = 'http://cdn.azurecdn.net/data';
$config['javaScriptUrl'] = 'http://cdn.azurecdn.net/js';

when i enter the url https://cdn.azurecdn.net , page is not displaying properly

I have few questions regarding this setup

1. Do i need to add https://cdn.website.com ( where website name is the name of my website), or http://cdn.azurecdn.net in the config.php file ?
2. how can i make people go through cdn url ?. when users enter https://www.mywebsite.com ( mywebsite is name of my website), request is not going through cdn url. its just going to my server. but in source code, i see cdn urls every where
3. where can i enter the path of style images to reflect my cdn url ?
4. if people view attachments, will the request go through the cdn url ?

Thanks
 
http://cdn.azurecdn.net must point to https://www.mywebsite.com
https://cdn.website.com should be a cname to http://cdn.azurecdn.net
You can change your logo url in Basic options @ Styles & templates
 
In this case, the source code of cdn is the same with source code web, so is not large change for problem
 
Back
Top Bottom