3 Replies Latest reply: Sep 10, 2010 2:43 PM by MurraySummers RSS

    Preview in Browser, One Server, Multiple Domains

    Josiah S Community Member

      I work for a company that provides both web design and hosting services. All of our clients' sites are in sub directories of our /web/ directory on the server but their web addresses are set up as subdomains (clientname.mycompany.com). How can I make "Preview in Browser" work with this setup?

       

      Right now, it tries to take me to the Web URL that I have set in "Servers" in DW, followed by the internal server path of the file.

       

      What I need, is to have "Preview in Browser" open up something like;

       

      clientname.mycompany.com:port

       

      instead of;

       

      dw_web_url/serverpath/file.php

       

      Is that possible?

       

      Also, is it possible to "Preview in Browser" while working on a CSS file? For example, if I am working on /root/css/style.css and I press F12, Firefox would open up clientname.mycompany.com:port/index.php instead of dw_web_url/root/css/style.css