Highlighted

Real-time preview page not found problem

New Here ,
Mar 08, 2018

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?

Adobe Community Professional
Correct answer by Jon Fritz II | Adobe Community Professional

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.

Views

516

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Real-time preview page not found problem

New Here ,
Mar 08, 2018

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?

Adobe Community Professional
Correct answer by Jon Fritz II | Adobe Community Professional

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.

Views

517

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Mar 08, 2018 0
Adobe Community Professional ,
Mar 08, 2018

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.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Mar 08, 2018 0