Chapter 2: Installing a Web Server

In This Chapter

arrow.png Testing for a web server

arrow.png Obtaining Apache

arrow.png Installing Apache on Windows, Linux, and Mac

arrow.png Using Apache

arrow.png Configuring Apache

You might have the idea that this chapter is all about the web server Apache. Well, you’re right. In this chapter, you download and install Apache. If you’ll be using a hosted website or a company website and placing your files on someone else’s server, then you don’t need to install a web server at all.

The chapter focuses on httpd from Apache because it’s free and the most popular web server used on the Internet. Other web servers are available. Microsoft has Internet Information Services (IIS) and also includes a development web server with its Visual Studio development application. Another popular web server is called nginx. Apache and its wide support across different types of computers is so popular that we focus solely on Apache in this book.

Windows doesn’t come with Apache installed. You must install it ...

Get PHP, MySQL, JavaScript & HTML5 All-in-One For Dummies now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.