If you plan to develop dynamic pages, Dreamweaver needs the services of a testing server to generate and display dynamic content while you work. The testing server can be your local computer, a development server, a staging server, or a production server.
For a detailed overview about the purposes of a testing server, see David Powers’s Dreamweaver Developer Center article, Setting up a local testing server in Dreamweaver CS5.

