in Dreamweaver go to Site -> Manage Sites
select the site you are working on and click the edit button.
Under the Servers section of the Dreamweaver site definition, you will need to define a testing server.
The Specifics of the information to enter for the testing server dependent on the server, if you are not sure of what to enter, you will need to contact the host.