July 30, 2008

Frondiz CMS – Move to new server

This is just a quick update regarding the move of the Frondiz CMS to the new server.

Unfortunately, the backup provided by the old host was not complete!  A few sub-folders down there were no files.  I ended up downloading all the files by using wget to log into the old server via ftp which proved to be a fast and reliable way of moving the files.

I placed a maintenance page up on the old server so that if anyone tries to access a site that is still running off the old server they will receive the maintenance message.  This will only apply if a DNS lookup has been cached and is still pointing to the old server.

I have changed the DNS for all Frondiz CMS sites to point to the new server (excluding emails which will remain on the old server for now).  I also setup a DNS monitor for every domain to notify me when the changes had taken place.  They have all successfully rolled over now (except for one which is out of my control and I will be contacting them to remind them to make the change at their end).

Everything seems to be working just fine on the new server now and I dont anticipate any issues.  If you do find any issues then please contact me ASAP.

Redirect to maintenance page

I recently had to move a website to a new server.  While the DNS changes rolled over, I didnt want people to be able to access the site on the old server as I had already taken a backup and didnt want any more changes to be made.

I used a .htaccess file to redirect any request on the old site to a maintenance page:

RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_URI} !^/maintenance\.php$
RewriteRule ^(.*)$ /maintenance.php [R=307,L]

The above code redirects everything except the maintenance.php page to the maintenance.php page.

Its very useful to use scripts like this even when performing general maintenance on your site.  You could get even trickier by allowing your IP address to access the site while still blocking everyone else.  That way you can make sure your updates are working properly before ‘turning the site back on’.

July 21, 2008

More photos

I am uploading more photos, but its much easier for me to upload them to my MobileMe Galleries rather than Flickr.  I have put a link on the Photos page, but you can also get to them from here: http://gallery.me.com/robertkern.  There are alot more at the link above than on this website.  Although right now, only one of the galleries has finished uploading.  The first one with 500 photos is still on its way…

As i mentioned, my camera broke last week so there are no new photos yet.  In a couple of weeks i will be able to take more photos.

The rain is incredible

Wow.  It happened yesterday as well.  After about 15 minutes of rain, the street turns into a river.  The water races down a steep road and curves into this road where i live.  Its raining pretty hard but not super-hard.  It amazes me how much water falls from the sky in such a short time.  Im glad we dont live at the bottom of the hill.  My camera broke last week so i cant take a photo.  But, wow.