Note: It is recommended to use different hosting server to serve static content from CDN. But if your site is not having huge traffic like more than 1 million Pageviews a month, then you can setup CDN on same hosting server to improve page load speed.
[ad id='7' style='float:left;margin:10px 10px 10px 0']If you are having a normal HTML website rather than CMS platform like WordPress, you can create CDN on for website using following steps.
- Create a sub-domain on existing domain or register a new domain to serve static content. There is no difference in page load speed in sub-domain or new domain
- While creating the sub-domain for existing domain, point the sub-domain to the root folder of main domain i.e. point that to public_html folder of your hosting directory incase you are using that folder as root for the website
- Now add CNAME record for that sub-domain in your hosting account. If you are having access to WHM, you can add CNAME from the option named as “Edit DNS” in WHM
- You can create more than one CDN to serve content really fast for your website / blog. To create more CDN, just follow the above steps
You can see the difference in web page load time and speed on Pingdom Tool or you can ask your friends to provide feedback on page load speed after adding CDN.