Robert Kern
PHP Web Developer
My name is Robert Kern.
I am a PHP developer from Auckland, New Zealand.
Browse through some of my web development projects, or get in contact with me if you are interested in hiring my php web development services.

Search

  • Topics

    • Honduras (25)
    • Hosting (3)
    • How to (9)
    • iphone (11)
    • Mac (8)
    • Movies (1)
    • Off Topic (10)
    • PHP (8)
    • Recipes App (12)
    • Servers (1)
    • Software (8)
    • Subversion (4)
    • Technology (4)
    • Uncategorized (1)
    • Videos (8)
    • Web Development (20)
      • Security (2)

 

Archives

  • December 2009
  • November 2009
  • October 2009
  • July 2009
  • June 2009
  • May 2009
  • April 2009
  • March 2009
  • February 2009
  • January 2009
  • December 2008
  • November 2008
  • October 2008
  • September 2008
  • August 2008
  • July 2008
  • June 2008
  • May 2008
  • April 2008
  • March 2008
  • February 2008
  • January 2008
  • July 2007
  • Home
  • Web development
  • Storehouse
  • PHP
  • Subversion
  • Projects
  • Contact me
...
  • In Honduras

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.

Tags: frondiz, Hosting, linux
July 30th, 2008 | Posted in Hosting | No Comments »

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’.

Tags: Hosting, linux, mod_rewrite, PHP, server
July 30th, 2008 | Posted in Hosting | No Comments »

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.

Tags: copan, Honduras, La Guarderia, Photos
July 21st, 2008 | Posted in Honduras | No Comments »

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.

Tags: copan, Honduras, Rain
July 21st, 2008 | Posted in Honduras | No Comments »

« Older Entries
© 2004-2010 Robert Kern, owner of Frondiz, need Hosted Subversion? | Design by Jarred Bishop | WordPress