midwest web design

Defining a Site Dreamweaver 8

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:

Empty Manage Sites Window

The manage sites window is new in Dreamweaver 8 and provides a list of existing sites. Follow these steps to create our site:

Select New From Manage Sites Window

This window will show:

Name your site

Select 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 folder location where midwest is located

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.

Dreamweaver yellow folder icon

Dreamweaver default folder view

Select Local Disk C:

Select midwest folder

Empty Midwest folder view

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

Midwest folder path showing

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

Choose how you connect to web server

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

Select FTP, fill in information

The fields are explained below:

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

Dreamweaver FTP test connection

Selecting Enable checking in and out

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 Site Defintion

Dreamweaver summarizes our information.

Midwest visible in Manage Sites window

Midwest visible in Files panel

Note that when you click Done from the manage sites window, sometimes Dreamweaver will show the remote view in the Files panel instead of local. To change the drop down list to local view, left click the second drop down menu and select Local View:

Dreamweaver select local view

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:

Select new file in Dreamweaver

Default document name in Dreamweaver 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 have questions, contact me.

top of page

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