Usually this is an issue with the testing server settings in your Dreamweaver site definition. More often than not the testing URL has a redirect so it doesn't work properly. Perhaps it has http:// when your server uses https:// or it has a www. but your site doesn't use one or vice versa.