Dreamweaver

Test the Macintosh web server

  1. Create a simple HTML page called myTestFile.html and save it in the /Users/your_user_name/Sites/ folder on your Macintosh (where your_user_name is your Macintosh user name). The HTML page can consist of a single line, such as:
    <p>My web server is working.</p> 
  2. Open the test page in a web browser with an HTTP request by entering the following URL in your web browser:

    http://localhost/~your_user_name/myTestFile.html

  3. If the browser displays your page, the web server is running normally. If the browser fails to display the page, make sure you specified your Macintosh user name prefixed with the ~ character.
Note: Your Apache web server won’t work with PHP by default; you must configure it before you can use PHP.