Monday 23 April 2012

MaxCDN – Updating IP Address when moving servers

If you use MaxCDN to speed-up your WordPress blog/site, then you may face one issue during server migration. The issue is - IP-address of new server will not get updated in MaxCDN automatically. You need to do this manually like below:

Steps to Update IP Address on MaxCDN:

  1. Login to MaxCDN account. Go to "Manage Zones".
  2. Go to "Pull Zone" which you like to update.
  3. Then go to "Settings" tab.
  4. You will see a section titled "Origin Information".  That will contain IP address of your old server. Click the "Edit" button in that section. (see screenshot) MaxCDN IP Address Change 1 MaxCDN   Updating IP Address when moving servers
  5. Next, just hit the "Update" button.  (see screenshot) MaxCDN IP Address Update MaxCDN   Updating IP Address when moving servers

Why don't MaxCDN update IP address manually?

Its common to perform some testing on a test server, and then use another server, a different one, for production site. So IP-address change is not something very uncommon.

MaxCDN uses IP address to serve content faster. But rather than automatically updating their cache, say daily, they keep it forever! While I like the manual option to "Update" IP address is settings area, which gives advance users some control, it would be better if MaxCDN combine this manual option with automated cache-update.

Smart Auto-Update: A smart solution would be to update IP-Address when "Origin Server" starts returning HTTP 404-error. When there will be too many 404-errors, it may mean the server has been moved. Of course, CDN misconfiguration or origin server-downtime can also result in 404-error but "Smart" programs supposed too handle such cases as well!

Recommended Reading: How to Setup MaxCDN on WordPress using W3 Total Cache Plugin


Related posts:

-- This Post MaxCDN – Updating IP Address when moving servers is Published on Devils Workshop .





ifttt puts the internet to work for you. via task 796541

No comments:

Post a Comment