this sounds like an issue with the site definition settings.
In your site definition, make sure that you have a testing server configured properly.
In the dreamweaver site, you can set both a remote and a testing server, it sounds like in your case, that the remote server is doing double duty as both the remote and testing server, set the testing server settings to use the same settings as the remote server, and make sure to enter the correct URL Prefix address.