To define a site in Dreamweaver:
- From the Site menu, choose New Site. The Site Definition screen opens.
- Click the Advanced tab.
- In the Local Info category, specify the following:
- Site name. This will show in Web browser's title bar.
- Local root folder. This is the folder on your computer where all of your site files are stored. For example
c:\My Site
- Default images folder. Specify the folder where your site's graphic files are stored. For example
c:\My Site\images
- HTTP address. Specify your domain name. For example,
http://your-domain.com
- From the Category menu, select the Remote Info item.
- From the Access menu, select the FTP option. Most likely, your server supports publishing through FTP (File Transfer Protocol, commonly used for transferring files over the Internet).
- Specify the following settings:
- FTP host. Type your FTP host name without the
ftp://
prefix. For example,your-domain.com
. - Host directory. Specify the directory on the server where your site will reside. In most cases, this is
httpdocs
. - Login and password. Specify the login name and password for access to the FTP account.
- Use passive FTP. Select this option only if your computer is behind a firewall.
- FTP host. Type your FTP host name without the
- To ensure that you specified the correct login and password, and that Dreamweaver can connect to the server, click the Test button.
- To save the settings, click OK.
To publish your site:
- Open your site in Dreamweaver.
- From the Site menu, select the Put option (or press Ctrl+Shift+U simultaneously).