: Is there any benefits of using a separate .com domain for CDN? My company is using AWS CloudFront as a CDN for our website's media content. The previous employee set up a separate .com domain
My company is using AWS CloudFront as a CDN for our website's media content. The previous employee set up a separate .com domain name with CNAME pointing to our cloudfront domain (d3cerlni7****.cloudfront.net)
Today we had a problem with .com domain, it was not responding and as the result all the images were not showing on our website. Cloudfront (d3cerlni7****.cloudfront.net) itself work just fine.
So my question is this: are there any benefits of using a .com domain to link to our CDN? Because it seems if the .com is down for some reason our content is not displayed. Wouldn't it be better to replace all the links to d3cerlni7****.cloudfront.net directly, instead of to a separate .com domain?
Thanks for help
More posts by @LarsenBagley505
1 Comments
Sorted by latest first Latest Oldest Best
There are several advantages of using your own domain for a CDN:
You have full control over it, and can switch CDN providers more easily while retaining the same URLs.
The domain can contain keywords relevant to your site. For example if you sell widgets then widgetimages.com is a good domain to use.
If you use a subdomain, the images are now related to your main domain in search engines' eyes. (This works best if the main site uses the www subdomain only, otherwise cookies set on example.com are also sent to img.example.com on every request.)
If you decide to change the domain/subdomain you use for some reason, you have full control over 301 redirects which you do not have with a *.cloudfront.com address.
If you regularly have DNS issues with your domain, I'd suggest finding a more reliable domain registrar!
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.