Copy link to clipboard
Copied
Hopefully this will be an easy one to answer because I'm just doing something foolish.
I've set up my remote testing server with the root directory set as public_html/demo/website-name and Dreamweaver will happily connect and let me upload files. However, real-time prieview doesn't work. It puts the relevant files on the server but the browser just comes up with a 'page not found' error.
If I change the root directory to be just public_html then it works fine and the page loads but obviously the files are not where I want them to be.
What am I doing wrong?
On a related note I thought that an alternative would be to view the local files in a browser by right-clicking on a file in Dreamweaver and selecting 'Open in browser' but that just seems to do the same as real-time preview - ie. puts files on the server and gives me the same page not found error. Is there really no way to prieview a local file from Dreamweaver?
Place your site's root folders directly within public_html and update the site definition to use that new location for the local root.
You will then be able to use localhost/rootfoldername as the location for each site and Open in Browser should work correctly as long as the server is running.
I've had so many issues with Live Preview that I modified my DW to use Open in Browser on F12 instead.
Copy link to clipboard
Copied
Place your site's root folders directly within public_html and update the site definition to use that new location for the local root.
You will then be able to use localhost/rootfoldername as the location for each site and Open in Browser should work correctly as long as the server is running.
I've had so many issues with Live Preview that I modified my DW to use Open in Browser on F12 instead.