After you have specified local and remote info for your site, you must define a testing server so that you can preview and test dynamic pages. The testing server is the application server for your site, and it can be local or remote.
To define a testing server:
From the Site menu, choose New Site. The Site Definition dialog appears, with the Advanced tab and the Local Info pane selected by default.
Select the Testing Server category from the Category list on the left (Figure 2.21).
Figure 2.21. The Testing Server pane on the Advanced tab lets you define a testing server and URL prefix.
MySQL is the only database that Dreamweaver supports for PHP sites.
From the Access drop-down menu, select an access method (FTP, Local/Network, or WebDAV).
If you choose FTP, Dreamweaver automatically fills in the FTP information that you entered on the Remote Info pane. Accept that information if the locations of your testing server and your remote server are the same. Otherwise, enter the FTP information for your testing server.
If you choose Local/Network, Dreamweaver automatically specifies the local root folder for the location of the testing server. Accept that information if the location of your testing server and local root folder is the same. Otherwise, browse to the correct local folder.
If you choose WebDAV, Dreamweaver automatically populates the WebDAV information that you entered on the Remote Info pane. Accept that information if the location of your testing server and your remote server is the same. Otherwise, enter the WebDAV information for your testing server.