Posts Tagged ‘Local Computer’

How much does web hosting cost?

When you have a website built for your company, there are a few hidden costs to consider in the overall price but nothing compares to the complexities of picking the right hosting company.

What is Web Hosting?

To understand what web hosting is, you need to understand that a website has a few key elements:

The Domain Name

This is the easily understood name that you share with people such as thisismyurl.com, thingsidoformoney.com, gamesgarrison.com etc. The domain name is the part of the website that we type into a web browser’s address bar to access the website. Generally a domain name costs between $7.95 and $15.95 per year, depending upon who you register with.

The Website

A website is the part of the process which visitors see, it’s generally a series of pages that make up a marketing or application package. Websites are scripted in a language called the HyperText Markup Language (HTML) and are stored as a series of files very similar to how you would store a collection of Word or spreadsheet files on your local computer. These files are simply placed in a directory on a hard drive, which is accessed by a special software application called a web browser.

Web Hosting

Now that we can appreciate a website is simply a series of specially formated documents, we can appreciate that we need to store those documents somewhere for everybody around the world to look at. In most small offices there is a shared directory which allows people from all departments to store files for others in the office to view. In larger companies, we make use of remote file sharing which allows users in one location to share files with users in countless other locations, this is what web hosting is all about.

Your website, which is a series of files and folders, is uploading to a hard drive connected to the Internet and shared for millions to access and see. The website uses a special piece of software called a Web Server to serve both static (HTML) and dynamic (PHP / ASP) pages to your visitors.

The key characteristics of a quality web host are:

  • Connection Speed - How long will it take to load the website, this is a key factor as people will leave slow websites.
  • CPU Speed – For websites using CMS tools such as WordPress, a fast processor will help load pages quicker, just like a faster computer will load Word documents quicker.
  • Reliability – Sometimes referred to as “Site Up Time” this factor represents how often a website is offline for maintenance or because of hardware/software failures.
  • Storage Capacity - How big can your website be? Most websites are only  five MB (Mega Bytes), or a couple floppy discs in size.
  • Transfer Bandwidth – How many times can your website be transfered to customers in a given month? Remember, each page your website contains has a weight or file size. Each time that file (and all the graphics are transfered) it consumes part of your transfer allowance.

Web Hosting Costs

Now that we understand some of the basics of web hosting, let’s take a look at some of the pricing options available for customers:

GoDaddy Hosting

Economy – 10 GB Space, 300 GB Transfer – $4.84 per month
Deluxe –  150 GB Space, 1,500 GB Transfer – $6.79 per month
Unlimited – $14.95 per month

BlueHost Hosting

Unlimited – $6.95 per month

Bell Aliant

Standard – 1 GB Space, 192 GB transfer – $14.95 per month
Marketer – 3 GB Spage, 288 GB trasfter - $24.95 per month

Using MAMP and LAMP for WordPress Development

My FTP program is a time thief. Sometimes when I’m in the middle of a major edit, it’ll hang or crash or simply refuse to do what I’m asking it to. More often than not however it will simply choose to take seconds to do what I want it to do in a fraction of a second.

What am I going on about? Frankly, sometimes my tubes are clogged and FTP’ing changes to my web host takes far too long. It’s not their fault, I live in a city with free high speed WiFi access virtually everywhere in town. This is great but it means that I do a surprisingly large amount of my work sitting in coffee shops, on park benches or along the river. The bad part is that it’s a public WiFi so I’m reluctant to use FTP passwords across the network and sometimes it’s a little slower than I’d like.

My Solution? MAMP, Macintosh Apache MySQL PHP, it’s available from http://www.mamp.info/en/index.php and it’s free. There’s also Windows and Linux versions of the tool but since I’m a MacHead I choose to use the version best suited for me. What MAMP does is install the equivalent of a Linux web server on your computer, which allows you to host your own WordPress websites on your local computer for development purposes.

To do this, first you’ll have to download the MAMP installer and set it up on your Mac (remember, there are PC versions called LAMP). Next, copy your WordPress website in the /Applications/MAMP/htdocs/ directory and set up your local copy of WordPress as you normally would.

If you already have a copy of WordPress running on your hosted blog, use your phpMyAdmin control panel to export your database and install it on your laptop. Next, download and edit your local copy of wp-config.php to have the following settings:

define(‘DB_NAME’, ‘intranet’); // The name of the database
define(‘DB_USER’, ‘root’); // Your MySQL username
define(‘DB_PASSWORD’, ‘root’); // …and password
define(‘DB_HOST’, ‘localhost’); // 99% chance you won’t need to change this value

If you’ve done everything correctly, you can now access a local copy of your WordPress website from http://localhost:8888/wordpress/.

Remember, changes to your local blog *do not* update your hosted blog but this is a great way to make edits to your templates, test local content and develop client websites in a localized, hosted environment.

For bonus coolness, if you setup your Adobe Dreamweaver site correctly you can make edits to your themes without having to upload anything to a web server. I know this is a sad confession but I use this technique regularly while sitting in airport terminals.

I’d love to be able to sync my live blog directly with my local offline copy every now and then, so that I can always have a fresh copy on my MacBook. What would you do?