Usually this is an issue with the Testing Server settings in dreamweaver, specifically the WebURL or root folder settings. Perhaps you added an SSL certificate and haven't updated the Web URL to include https:// or you have a redirect to the www. version of the site but the web url doesn't include the www.