Drupal 5.1 and GoDaddy

As I recently discovered, getting Drupal to work with GoDaddy is no easy task. As a newcomer to both services and a self-admitted novice at any programming language, it was a bit tough. Now though, in hindsight, it is a relatively simple process to get Drupal and GoDaddy to work together. Most of my confusion arose from outdated instructions that were relevant only to former versions of Drupal. It really is so much easier with Drupal 5.1

So, without further delay, here's a quick and dirty guide to getting started with a GoDaddy linux server account. One last note, this should work for either one or multiple websites hosted on the same account.

1. Go to the Drupal website at http://drupal.org and download Drupal 5.1

2. Extract the compressed file into a folder named Drupal.

3. Use an FTP client --I use fireFTP for Firefox-- (or the provided service from GoDaddy if you must) to upload the entire Drupal folder to your root directory.

4. In GoDaddy, select "My Hosting Account", open the control panel, then select Domain Management, and have your website point to /drupal by using the domain hosting window. It will take a couple of minutes for this to be set up.

5. While that is being set up, click on databases, then MySql, and create new database. Choose MySql 5.0, then a name and password. After you do that, it'll take a few more moments for the database to be set up.

6. Now, using your FTP client, navigate and create a new folder under drupal/sites with the name of your site, but no www. For example, if your website name is located at http://www.domain.com, you would make a folder in the sites folder named domain.com

7. Now, copy the version of settings.php from drupal/sites/default to the folder you just created in step #6.

8. The next step is to find out the location of the SQL database you created in step #5. Do this by clicking on the name of the database in the GoDaddy control panel -- and a bunch of information will pop up. What you're looking for should look something like p11mysql33.secureserver.net. Copy it to your clipboard.

9. Navigate to your website (in our example case http://www.domain.com) and you should see the Drupal welcome page. First, enter your database name, user name, and password as you created in step #5. Then click on the tab marked advanced options (don't worry, it's not that tricky) and paste the database host (it looks like p11mysql33.secureserver.net) into that section.

Click save configuration and that's it! There will likely be a couple of error messages at the top of the screen (including a create temporary table error -- more on that later), but beneath you should see a message telling you the installation was successful. Go ahead and create the administrator account

Congratulations! That's all there is to it.

Keep in mind you can use this for multiple websites from the same hosting account: just make your website point to the drupal folder like step 4, add a new SQL database as in step 5, and a new folder in the drupal/sites folder like you did in step 6.

Also note, unlike old versions of drupal, you don't need to make any changes to the settings.php file (this is where I got stuck -- making changes to this file). The generic settings.php file is all you need in your site folder. It really is that easy!

If you have any questions or difficulty getting Drupal up and running with GoDaddy, feel free to leave a comment and I'll do my best to help you out.