TwitterFollow Me on Twitter

Archive for 2007-02

Three Anniversaries and a Baby!

First, I must wish my lovely wife a happy anniversary! Three years ago today we were married and since then I’ve enjoyed the best three years of my life because of my wonderful, beautiful bride. She’s incredible! And she puts up with me. :) That alone is a testament to how awesome she is.

I love you baby.

Yesterday we visited a doctor. The first of many visits to the doctor. Two months ago we setup this appointment and we’ll be visiting quite a bit for the next seven months. For those of you who weren’t math majors, that makes nine months. For those of you who weren’t biology majors, that means Missy and I are having a baby!

We’re both thrilled beyond words for this blessing and it’s certainly an exciting time in the Russell house. Soon there will be the little patter of feet around. We can’t wait! And neither can the grandparents! My mom and dad will be new grandparents and it will be grandkid number three for my mom-and-dad-in-law. :) Needless to say, I think the grandparents are about as excited as we are. And on (or around) September 18, 2007, we’ll all be joyful for this new life entering the world.

This is going to be amazing! Now I’ve got to get to work on building the baby blog. :) I knew there was some way I’d get to geek out on this.

Missy’s Announcement

Technorati Tags: , ,

Comments (37)

1and1: Virtual Private Servers

A few days ago, I was checking a domain’s availability and I noticed some new services being delivered by my web host, 1and1. VPS? I wasn’t familiar with the acronym, but once I clicked through, I certainly understood the big picture. 1and1 has launched virtual private servers!

Most of us here are at least somewhat familiar with virtualization, and if you’re not it’s quite alright. It’s only been a phenomenon for the last year or so. Zealots will say it’s been hot for much longer—but I’m talking mainstream. Either way, it’s fine. Just make sure and get on the bandwagon now if you have not. The VMware player is free. Parallels is killer for the Mac platform.

So what’s a web host doing with virtualization? Well, it’s really a fantastic idea for several reasons:

  1. Economics - Virtualization keeps costs low by maximizing the use of hardware while minimizing the amount of hardware.
  2. Speed - In this case, 1and1 is allowing their VPS customers to get a 100 MB per second pipe. Until now, that was only available on their high-end servers. Also, the server itself is allotted the horsepower to get the job done right.
  3. Reliability - Virtual machines are a cinch to build and rebuild, even under highly volatile environments like the world’s number one web host encounters. I can count on 1and1’s ability to restore my VPS quickly because I know how quickly I can restore a VM—mere minutes.
  4. Scalability - If my needs as a customer change, modifying a virtual machine to allocate more RAM or even moving the VM to better hardware is very simple.

In fact, there are probably even more reasons why a virtual server would be beneficial. (Feel free to say it loud in the commentary.) But there are also a few drawbacks, at least in the way 1and1’s plans work. You are going to be tethered a bit more on your data quota. For $30 a month, you’ll get 500 GB transfer per month. That may seem like a lot to some folks, especially if you are paying too much for hosting somewhere else, but in reality I get six times that amount (yes, 3 TB) for $20 per month on my shared hosting developer plan. Wild, I know. But I don’t have that 100 MB per second pipe on my shared hosting either. Also, you’ll have much less storage space on the VPS as compared to the other hosting plans. 10 GB of storage on the base VPS plan while I get 300 GB on my developer plan. So you have to weigh those things for yourself.

I like these VPS plans a ton. I’m currently regretting a decision I made to launch an upcoming project with site5. They had a killer deal that I took hook, line and sinker, but in the first eighteen hours with them, our site was completely unavailable for nearly eight of those hours. Thankfully, we are not live with that project yet, but I did have to delay some work until the problem was remedied. There’s nothing more frustrating than that. I’m considering requesting a refund and grabbing a VPS at 1and1. Honestly, I cannot remember the last time there was an outage at 1and1. It must have more than a year ago and possibly well beyond that.

Yes, I do see all the gripes and complaints about 1and1 that float around the web forums and mailing lists. And I’m sure there are some very legitimate issues amongst those. In fact, I’ve been gripey about 1and1 on occasion. I think the reason there are so many people who are vocal about their negative experiences is because 1and1 is a rather large company with a rather large customer base. This alone would escalate the amount of total published problems and it could seem overwhelming to anyone hunting for a good host. So, I have to just take that against my own encounter. My overall experience with 1and1 has been really great. I am very satisfied with the service and I certainly love that price point.

If you’re hunting for a host, check out 1and1. And if you are ready for a supercharged server without the big investment, you’ve gotta see the VPS.

1and1 VPS Overview

Technorati Tags: , , , , , ,

Addendum: It’s important to point out that 1and1 is not the only good web host on the block. There are satisfied customers with many companies. And I will agree with anyone that you get what you pay for, especially with the issue of support. In the end, it’s most important to find a web host that satisfies your needs for service and support.

Comments (12)

Virtual Hosts

Sometimes I run across things I should have known a long time ago. Sometimes, when I find those things, I say to myself, “Man, I should have figured that out. It makes so much sense.”

Virtual hosts are one such thing.

A few weeks ago I was stumbling around the Godbit forums as I do at least once a day and I was intrigued by a post about virtual hosts. I was a bit misled, thinking the topic was a web host offering service delivered on a virtual machine (more on that later.) Instead, the post revolved around the idea of creating a set of locally resolving URLs for use in the test environment so that projects can be delivered in more of a ‘root’ location.

Allow me to explain a little further.

In a local test environment, a web server combined with a scripting language (or two) and even databases can produce the same kind of results that you would receive while working on a traditional web server, perhaps just like the one at your hosting company. So for all my projects, I create a folder that is ’served’ to my own machine. The HTML documents and PHP scripts I produce can be examined and run in place allowing me to test and tweak these files very quickly and without the need to transfer files back and forth between a remote server. Of course, once a project is complete I do make exchanges between the remote server and push the content live on the w3.

But before those files ever see the light of day, they live for quite some time on my local server. When I load a project, I usually just throw the standard local machine URL and the project folder to view my work:

http://localhost/project

Now, this works quite well most of the time, but occasionally I’ve run into some small snags because the information is delivered from a subfolder. .htaccess files typically struggle a bit here. It would be best if we could run things from a root folder, but it’s certainly not ideal to run multiple projects from that root folder. It’d be impossible to manage.

Enter virtual hosts.

By editing some information in the hosts file of my machine and editing the conf file in the Apache web server, I can create any URL I want and associate that URL with any folder or subfolder of the webserver’s /htdocs directory (the directory responsible for storing the web content that is served.) So, theoretically I can create a URL for that same project that reads more like a standard URL. In fact, it can even be:

http://www.davidproject1.com/

Yep. Even though I don’t own that domain, and would never want to anyway, I can tie that URL to the project folder and have that information served from my local server into my browser of choice.

The first trick is editing the Windows hosts file. Grab your favorite plain text editor and point your file browser to C:/WINDOWS/system32/drivers/etc/. Once there, open the hosts file. (You can select Notepad from the list of available apps if you don’t care to grab something better to edit with.) Your file will open to something like this:

# Copyright (c) 1993-1999 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
#      102.54.94.97     rhino.acme.com          # source server
#       38.25.63.10     x.acme.com              # x client host

127.0.0.1       localhost

The first several lines of the file (the lines that begin with a hash mark) are just commentary for the file. The line with no hash in front is where the real action begins. 127.0.0.1 is the loopback1 address of your machine (not to be confused with the local area network IP or public IP addresses which are both different.) localhost is simply the domain that resolves to the loopback address of 127.0.0.1. Essentially, the loopback allows you “address” your own machine from your own machine. Yeah, cool. You can probably start to see where we are going with this. Below that last line, go ahead and add a line like this:

127.0.0.1       myspace.com

Now save the file. You can leave the hosts file open in your text editor for now.

Oh boy. This is going to be fun. Now pull up a browser and enter myspace.com into the address bar and go.

Sweet! No more MySpace. Now, the myspace.com domain just resolves to your own machine because your hosts file is saying “all requests to myspace.com should resolve locally, not via the Internet.” Woo hoo. You can really have some fun with this! (But play nice!)

Seriously now, go back and change the hosts file, remove that myspace.com nonsense (you can’t live without it), and add in some domains that are easy to remember and are related to your projects. You can even create a new domain extension (TLD) if you like. For instance, my church related projects look something like this:

127.0.0.1       http://buzzconference.ncc

That way, I don’t confuse the .com or any other URL with my local project.

Make the system your own and feel free to use regular domains or even domains without extensions, like zulu-project which would resolve locally by browsing to http://zulu-project.

Until now, your domains only resolve to the root folder of your web server, just like http://localhost does. In the next step, we’ll let Apache know that we want certain local requests routed to a particular folder. If you’ve never edited Apache’s conf file, you may want to read up on a few docs at Apache. It’s really not as difficult as it seems, but you do want to exercise some caution as with anything like this.

You can find the httpd.conf file in the /conf directory of the Apache installation. Also, some versions of Apache actually list the virtual hosts information in a separate file called https-vhosts.conf. If yours is the latter, that’s where you’ll edit. For the rest of us, pop open that httpd.conf and scroll way down. It’s probably near the bottom. The line you’ll be looking for should read NameVirtualHost 127.0.0.1. If there is a hash sign (#) commenting out the line, just remove the hash to activate that line. Now for each and every local project or site that you’d like to run, add a set of lines like this:

<VirtualHost 127.0.0.1>
    ServerName localhost
    DocumentRoot "C:\Program Files\xampp\htdocs"
</VirtualHost>

In each case, replace localhost with the domain that you listed in the hosts file. Then, edit the DocumentRoot to the path of the folder that the project or site resides in. An example in my case might read like this:

<VirtualHost 127.0.0.1>
    ServerName buzzconference.ncc
    DocumentRoot "C:\Program Files\xampp\htdocs\buzzconference"
</VirtualHost>

To get Apache to recognize your new settings, you’ll need to restart the Apache server. In fact, any time you change the conf file, you should restart Apache as soon as it’s possible to do so.

Now when you load your project domain into your browser, the hosts file will keep your domain local and the Apache conf file will route your request to the appropriate folder.

Virtual Hosts! A must-have little hack in the tool belt of every web developer.

Apache Virtual Host Documentation

XAMPP - Install Apache, PHP, Perl and MySQL in one easy go.

Article on Virtual Hosts

The Godbit Discussion and Other Links

Virtual hosts are possible with IIS. I don’t use IIS. But there should be lots of information out there on it if you are interested.

1Thanks to Pastor Sam for pointing out the proper semantics of the loopback address.

Technorati Tags: , , , , , , ,

Comments (9)

Most Reliable Hosting Companies

Take a look at the January 2007 results from Netcraft for the most reliable hosting companies. I subscribe to their newsletter which typically has some fascinating security-related tidbits and this month they highlighted the top 10 hosting companies by stability and uptime. There is a short writeup with the top 10 information and you can gather more detailed information over other ranges of time.

I found this information to be quite interesting. And it’s one of the things I look at most closely when shopping for web hosting. Of course, with 1and1 performing so well by these standards, I may not need to move anywhere at all.

Is your host on the list? :)

Digg This

Comments (3)

Church IT Interactive Audio Webcast

Over the past few months, a group of church IT professionals have gathered intermittently for an interactive conversation about the world of technology. Jason Powell, the Technology Director at Granger Community Church, is responsible for organizing and guiding the discussions. He’s also the reason these meetings exist. After he pitched the idea to several folks on his blog, Church IT and Other Musings, the first interactive “talkcast” for church IT geeks was born. On the first and third Friday of each month, we gather our digital selves together for about an hour to discuss news, events, tools and resources, gadgets and gizmos, as well as high profile issues relating to security, technology management and senior pastors—I mean, budgeting.

If you are involved in technology at any level within a church, parachurch or nonprofit Christian organization, or even if you work elsewhere and are keen on the idea of gathering with some very, very, very, very cool dudes to talk shop, you are welcome to join the fray at our next discussion. We’re meeting again Friday, February 2nd at 2:00 p.m./1400 EST (1900 UTC/GMT) using the Talkshoe network and client. You’ll have to register at Talkshoe: create a username, password and PIN. Then, download the Talkshoe client. You might want to do this well before the event starts because you may need to update Java, depending on your setup. Once you have Talkshoe running, you’ll dial in to the Talkshoe number (724-444-7444) using any phone, enter your PIN and the show ID and you’ll be connected to the conversation.

Also, you don’t have to interact. You are welcome to just listen. But we do encourage participation. Trust me, I’m not even good enough to shine most of these guys shoes and I still chat it up. It’s the only way to learn. Plus, I’m often able to assist with web-related discussion that pops up. You never know when you might be the expert-on-hand when something is discussed. So jump in, if you would like to.

If you don’t have a PC, or if you simply don’t want to run the Talkshoe client, you can just call in to the Talkshoe number (724-444-7444) and enter your PIN and then the ID of the show and you’ll be connected. (You will have to be registered at Talkshoe.com for this, but you won’t need to download anything.) It’s just like a conference call.

For all participants, toll charges may apply, depending on your service agreement or phone system. It’s a standard U.S. number. Cell phones are fine, but be wary of “road noise” and other environmental oddities that can occur. The moderator, Jason, may mute your channel if there is too much happening on your line, especially if it is distracting. So mute yourself if you think it’s a problem, then unmute when you want to add to the discussion. Just be mindful. And remember that without the Talkshoe client, you will not be able to view the text conversation that often accompanies the audio.

Skype users without headsets should also be mindful of noisy audio conditions. Feel free to use Skype to call in to the number—you can still use the Talkshoe client to watch the text conversation and view the participant profiles while dialed into the audio on Skype. I’ve used this method and the phone method and both are fine. Just make sure your Skype connection is optimized so your voice and your reception of others is clear.

Dial in early for the pre-show chat and stay late for the afterglow. The audio from 1400-1500 EST is recorded and made available via podcast (RSS | iTunes 1-click) or direct download. For all of us in the church IT community, we look forward to you joining the discussion.

Church IT Discussions

Jason Powell

Talkshoe

Technorati Tags: , , , , , , , ,

Comments (4)

Must See

Godbit

A refuge for Christian web designers who believe in and adhere to web standards.

Refresh DC

A meeting of the creative minds of the DC metro area web publishing culture.

FamFamFam Silk Icon Set

A sleek set of icons for use in web development. Free to download.

Vitamin

A resource for web designers, developers and entrepreneurs.