• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL

Lesson 6. Managing Your Site > Connecting to a Remote Site

Connecting to a Remote Site

In Lesson 1, you created a local site—that is, a folder on your hard drive to store all the folders and files needed for your site. So far you've been developing pages in the local site. For visitors to see your Web pages, however, you need to copy your local files to a remote site. Typically, the remote site is on a server specified by your host, Web administrator, or client, but it could also be on a local network.

Choose Site > Edit Sites.

Windows users should use the Site menu located on the Site window.

The Edit Sites dialog box opens.

Select your site, Lights of the Coast, and click Edit. Click the Advanced Tab.

The Site Definition dialog box opens.

In the Category list, choose Remote Info.

The Remote Info section of the Define Sites dialog box is where you will enter information to tell Dreamweaver which remote site to connect to and the attributes of that remote site.

From the Access drop-down menu, choose Local/Network.

In the following steps, you will create a folder to simulate a remote FTP (File Transfer Protocol) site. This procedure will enable you to experiment with the Get and Put functions, as well as additional site management functions, without the need to have access to a remote server. In many cases the Local/Network option is used when you have access to another computer on a network that will house the remote folder. In this instance, it will be on your own computer.


FTP access is a common method of getting files from or putting files on a remote site. Because you may not have access to a remote FTP site while you complete this lesson, the following information is presented as reference material only. Consult your network administrator or host to set these options correctly. The following list of options is available by choosing FTP from the Server Access drop-down menu in the Site Definition dialog box.

FTP Host: The host name of your Web server (such as ftp://mysite.com).

Host Directory: The directory on the remote site where documents visible to the public are stored (also known as the site root).

Login and Password: Your login name and password on the server. If you deselect the Save check box, you'll be prompted for a password when you connect to the remote site.

Use Passive FTP: Used when you have a firewall between your computer and the server. This option is unchecked by default.

Use Firewall (in Preferences): Used if you are connecting to the remote server from behind a firewall. This option is unchecked by default.

Click the folder icon to the right of the Remote Folder text box to specify the remote folder.

The Choose Remote Folder dialog box opens.

Choose a location on your hard disk that is outside your root folder, DWMX_project. Click the New Folder button, type LightsRemote for the folder name and select it.

For the Macintosh: Select the LightsRemote folder and click Choose.

For Windows: Select the LightsRemote folder and click Open. Then click Select to use the LightsRemote folder as your remote folder.

This folder will act as a stand-in for a remote server and, like any remote server, it will be a mirror of the local root folder of your site, DWMX_project, which you defined in Lesson 1. The remote folder must be outside your local root folder.

Click OK to save your site information and click Done to close the Edit Sites dialog box. Click the Site Files icon on the Site window.

You can always edit your site information later by choosing Site > Define Sites to open the Edit Sites dialog box, and then selecting the site you want change. For this exercise you left the Refresh File List Automatically box checked, and the Check In/Out options unchecked.

The Site window now displays the empty remote folder in the Remote Site pane of the Site window. The path from your hard disk to the folder is displayed next to the folder icon. You may have to rollover the folder name to see the full path.

At the top of the Site window, you will see a Connect icon, which logs you on to a specified remote server. For this exercise, you've defined a local folder, so the Connect icon button is not active because you are already connected.



Not a subscriber?

Start A Free Trial

  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint