Skip to main content
Participating Frequently
February 18, 2022
Question

Dreamweaver doesn't preview HTML in browser

  • February 18, 2022
  • 3 replies
  • 1402 views

hi, I have newly downloaded and installed Dreamweaver on my Macbook - I used to work on an old version on a HP Laptop before.

I have found that two of my 5 websites that I am currently working on, I can't preview. I checked all the settings and they are the same for all 5 websites I am working on, except that two of them won't show the live preview, nor will they open in a browser. I am at my wits end. Any ideas what the matter is?

    This topic has been closed for replies.

    3 replies

    New Participant
    February 22, 2022

    I've found the same thing. I found a clue as to what the problem is. I think the live preview is not capable of producing some web pages. My solution came about by accident. I was playing around with the idea of going to Visual Studio. Ran the live server in VS and for the heck of it I modified a web page in Dreamweaver and wham right after saving the file never failed to be completely live. I didn't have to refresh the page or anything. So I can only assume the live preview in a browser is a little weak. On a remote server this wasn't the case. Always had to refresh the web page. Annoying.

    My Solution was to install a testing server on my machine. Found won by Bitnami that was free. Fairly simple to install. Minimalistic enough not to eat up resources. Quick to start and stop. There are others out there. Now I just retested it and it wors like a charm. I save the edits and it instantly pops. Live mode works better in Dreamweaver as well. Here's the URL: Download XAMPP (apachefriends.org) Complete webserver in minutes. Makes Dreamweaver coding a dream.

    New Participant
    February 22, 2022

    Gotta add this. Your issues might not be related. However, this was most consistent even when code was full of errors. I was able to debug better. I have the feeling Dreamweaver was designed using a local server for testing and a remote server when the page/site was ready. I also just updated and made sure there was one OS X as well. There is. Let me know if this helps anyone. 

    Also just a note this isn't just a Dreamweaver issue as well. Others out there have there quirks when it comes to this as well. I had it show up in Webstorm when I was testing it as well. I don't think it's an issue now though.

    Nancy OShea
    Community Expert
    February 18, 2022

    Only 2 out of 5 sites won't preview in browser?

    That's odd.

    Is the browser open or closed?

     

     

    Nancy O'Shea— Product User, Community Expert & Moderator
    Participating Frequently
    February 19, 2022

    The browser is open, I am using Chrome. I have tried with Safari, too - same issue. I have also tried copying the local files into a new folder, and opening them from there - still not working. Funny enough though, the one website has a sub-folder with another html file in it, and THAT file opens in the browser ... but not any of the other html files. I am really at a loss here.

    Nancy OShea
    Community Expert
    February 20, 2022

    Can you open the file directly from your browser?

     

    To Open Files from Chrome:

    On MacOS when no File menu is present, use the  + O  keyboard shortcut and browse to the file on your local HD.

    On Windows use ctrl + O. 

     

    Nancy O'Shea— Product User, Community Expert & Moderator
    Jon Fritz
    Community Expert
    February 18, 2022

    Have you tried Restoring Preferences yet?

    That gets rid of a lot of odd issues, even in new installations.


    Participating Frequently
    February 19, 2022

    yes, I tried that. Also closing all programs, re-starting, copying the files to different folders etc. Nothing worked. Still the same 2 out of 5 websites that simply won't open in real-time preview in Dreamweaver, and won't open in the browser. If I make changes to one of the pages (in the code), then upload it, it shows on the actual online website. I just can't view it offline.