Publishing HTML Documents to Your Local Apache Server

Q

How to publish HTML documents to your local Apache server?

✍: FYIcenter.com

A
If you followed our Apache server installation tutorial, and our Starting Apache Server Manually tutorial, you are ready to learn how to publish HTML documents to your local Apache server:

1. Using "notepad" to create the following simple HTML document:

<html>
<body>
This is my first HTML document.
</body>
</html>

2. Save (publish) this document at: C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\my_first.html.

3. Run a Web browser and enter the this URL: http://localhost:8080/my_first.html. You will see Apache HTTP server returns your HTML document in the browser window as: Apache First HTML Document

2006-12-07, 22520👍, 0💬