
Chapter 4
126
Determining the remote site’s host directory (FTP only)
The host directory you specify in the Site Definition dialog box should be the same
as the root folder for the local site. If the structure of your remote site doesn’t match
the structure of your local site, your files are uploaded to the wrong place and aren’t
visible to visitors to the site. Also, your image and link paths will be broken.
The remote root directory must exist before Dreamweaver can connect to it. If
you don’t have a root directory for your site on the remote server, create one before
attempting to connect, or ask the server’s administrator to create a root directory
for you if you can’t do it.
If you’re uncertain what to enter in the Host Directory field, try leaving it blank.
On some servers, your root directory is the same as the directory you first connect
to with FTP. To find out, connect to the server. If a folder with a name like
public_html, or www, or your login name, appears in the Remote File view in
your Site window, that’s probably the directory you should use in the Host
Directory field. Write down the directory name, disconnect, and reopen the Site
Definition dialog box. Then enter the directory name in the Host Directory field
and connect again.
Should be Host
Directory
Shouldn’t be Host
Directory
Shouldn’t be Host
Directory in this case
no
no
yes
Содержание 38028779 - Macromedia Dreamweaver - Mac
Страница 1: ...macromedia Using Dreamweaver...
Страница 148: ...Chapter 4 148...
Страница 296: ...Chapter 12 296...
Страница 472: ...Chapter 18 472...
Страница 512: ...Chapter 21 512...
Страница 562: ...Appendix 562...