| |
Dreamweaver
Interface
Defining
a Local Site
Before you
begin to create individual Web pages, you need to create the
site that contains those pages. This local site on your hard
drive will mirrow the actual pages on the Web server. The local
site is where you do all your initial development and testing.
To set up a local site, create a folder on your hard drive.
The name of the folder can be the name of the site, or any name
you choose. After you define the main folder, it becomes the
"ROOT" folder for your site. All your files and subfolders
are contained within that ROOT folder. Dreamweaver needs a properly
defined site with a unique local root folder to maintain and
update links between pages. When you are ready to publish your
site (to the REMOTE server that will host your webpages) all
you have to do is copy that folder and all of its files to the
REMOTE server. You must first save a document within a local
site before copying it to the REMOTE server. To create a new
local site (ROOT folder),Choose Site in the toolbar, then Define
Site.You choose "create a New Site..."
The Define
Sites dialog box opens, as shown here. This dialog box lists
all the sites you have previously defined and lets you create
new ones.
Click new to create a new site. The Site Definition dialog
box opens, as shown below.

- The
name you assign to the site can be anything that identifies
the site- this is for your reference only.
- Click
the folder icon next to the Local Root Folder text box
- The
Local Root Folder text box specifies the folder on your
hard drive where the files for this site are stored. It
is the local equivalent of the site root folder at the remote
site. Dreamweaver creates all site-root relative links relative
to the local root folder
- Locate
the file where you have stored images or text that you will
use for your website.
- In
the site definition dialog box, select "Refresh Local
File List Automatically". When
this option is selected, a local cache is created, improving
the speed of linking and site-management tasks. You will
usually want to select this option, however, at very large
site, re-creating the cache can slow operations.
|