Viewing Websites on a Local Computer

On common way to manage a website is to:

  1. Use a commercial program, such as Dreamweaver, or a simple text editor, such as TextWrangler, to create the HTML pages of the website.
  2. View the website locally on the personal computer used in point 1.
  3. Repeat steps 1 and 2 until satisfied
  4. Upload the website, or the modified parts of a website, to the host server

We explore step 2 in this page—viewing a website locally on one's personal computer. This is a fairly straightforward process. We just want to open an HTML page, such as index.html, in a browser directly from the file system of the personal computer rather than sending a request for an HTML page across the Internet for viewing. The question is, how does one open a local file in a web browser? We describe how to do this first for PCs and then for Macs. We can do this in all browsers except for Microsoft's Internet Explorer. As usual, it is suggested that you use an independent browser such as Firefox or Chrome while working with websites anyway. However, Apple's Safari browser works well for this, too.

On a PC

We discuss how to open an HTML file on a PC in Firefox and Chrome. As noted above, opening a local file has issues in Internet Explorer. Although it is possible to open a local HTML file in Internet Explorer, links to stylesheets, videos, and audio in that HTML page may not work.

Firefox

When you open Firefox in Windows you should see a small orange tab labeled Firefox in the upper left corner of the Firefox window.

Chrome

After you have opened Chrome:

More Help

If you need more direction than is provided in the descriptions above, viewing the following movie should help.

Viewing Websites on a Local Windows Computer

On a Mac

We discuss here how to open a local HTML file on a Mac using the browsers Chrome, Firefox, and Safari.

Firefox, Chrome, and Safari

Fortunately, the process of opening a local file s is standard in all three of these browsers. Here's what you do:

More Help

If you need more direction than is provided in the descriptions above, viewing the following movie should help.

Viewing Websites on a Local Mac Computer