It is often difficult to get Dreamweaver working when using the remote server for a testing, there are many factors that could be causing the issue.
for this reason, we suggest using a local testing server for development.
Sere the learning resources page for details on installing a local testing server:
resources.php?utm_campaign=Forum_header&utm_medium=Forums&utm_source=WebAssistForums