midwest web design

Defining a Site Dreamweaver MX

What is defining a site?

This seems to be the most confusing aspect in getting started with Dreamweaver. When you define a site in Dreamweaver, you associate a folder and the related files inside Dreamweaver. For example, most people have recipes which inform them how to make a specialty dish. People collect and store these recipes in a cookbook, which has a name of Mom’s Specialties. Using this example, Mom’s Specialties is our folder and the recipes are the related files. You simply instruct Dreamweaver where to find this folder in your site definition. Your site definition can be named anything you want. In our example, it could be Mom’s Specialties.

In this tutorial, let’s define a site for Midwest Web Design. Do note the screen shots may differ slightly from version to version.

Printable Version
Word PDF

Create your folder

First, we’ll create a new folder on our hard drive. Follow these steps:

Minimize Window Button

Open Dreamweaver

Follow these steps to open Dreamweaver:

Create the site

In Dreamweaver, on the right side you will see a files panel:

Define a Site Files Panel

If we had a site defined it would appear. Follow these steps to define a site which associates our folder, Midwest, in Dreamweaver:

Name Your Site

Server Side Technology

We need to select whether we are using a server technology. Server technologies include ASP, ASP.NET, aspx, Coldfusion, etc. Since we are not using a server technology, leave the settings in this window as is.

Select Where Files Are Stored

In Dreamweaver you have three options when working with your files:

Leave the default option selected. We also need to instruct Dreamweaver where to find our Midwest folder. Follow these steps:

Dreamweaver yellow folder icon

First Dialog Window - Select Folder

Select Local Disk (C:)

Select the Midwest Folder

Inside Midwest Folder

The Midwest folder has no content because we have not created any files.

Midwest path Visible

Notice that Dreamweaver is showing the correct hard drive partition and location.

Select Upload Method

We need to inform Dreamweaver how to connect to our remote server:

Select FTP

The fields are explained below:

Once this information is entered, left click Test Connection. If it succeeds, you get this window:

Dreamweaver — Test Connection

Choose Enable Checking Out Files

We need to inform Dreamweaver whether to enable check-in/check-out. This concept ensures that two people cannot edit and publish the same file at the same time. If you work in a team, this is typically used. If you work by yourself, it would be rather pointless. Leave the default option selected.

Summation of Settings for Site

Dreamweaver summarizes our information.

Files Panel Showing Midwest Folder

Our site definition, Midwest has been created. You can have as many site definitions as you want. You should notice Dreamweaver isn’t showing any files, because none exist. You should also notice Dreamweaver shows the path to your folder on our hard drive. It should be clear now that creating a site definition in Dreamweaver maps the location to the hard drive so that Dreamweaver can reflect changes and subsequently upload files to your server, all stored in one convenient location.

Creating an HTML file

We can create an HTML file in Dreamweaver by using the Files panel. Follow these steps:

Files Panel - New File

Default Name Files Panel

We can also see untitled.htm inside our Midwest folder from my computer. Follow these steps:

My Computer - Midwest Folder View

Each file or folder you place inside the Midwest folder or that’s created inside the Files panel of Dreamweaver will be seen in both places. You are now ready to start creating the site of your dreams!

If you questions, contact me.

top of page

Thank you for visiting Midwest Web Design.net - Come back again soon.