Documenting some vhost settings fix workaround for VM blocking loading of static resources CSS/JS. Might be useful for someone using Virtual machines and having hanging page loads caused by blocked static content served by Akamai.

127.0.0.1     localhost
# Workaround for VM blocking loading of static resources CSS/JS
# www.domain.com redirects to www.cdn.domain.com
# If it's not working flush your DNS records: ipconfig /flushdns
208.2.218.208     www.domain.com

** NOTE **
You will need to ping cdn.abc.net.au to get the latest akamai node ip address as this changes from time to time.
[latest akamai node ip] www.domain.com
Sam Deering is a Front-end Web Developer who specialises in JavaScript & jQuery. Sam is driven and passionate about sharing his knowledge to educate others.

Free Guide:

How to Choose the Right Charting Library for Your Application

How do you make sure that the charting library you choose has everything you need? Sign up to receive this detailed guide from FusionCharts, which explores all the factors you need to consider before making the decision.


No Reader comments

Special Offer
Free course!

Git into it! Bonus course Introduction to Git is yours when you take up a free 14 day SitePoint Premium trial.