CHAPTER 17Configuring a Web Server
Web servers are responsible for serving up the content you view on the Internet every day. The most popular web server is the Apache HTTP web server, which is sponsored by the Apache Software Foundation (www.apache.org). Apache is an open source project that is available with Ubuntu.
You can configure a basic web server to run in Linux in just a few minutes. However, there’s no end of customization you can apply to it. You can configure an Apache web server to serve content for multiple domains (virtual hosting), provide encrypted communications (HTTPS), and secure some or all of a website using different kinds of authentication.
This chapter takes you through the steps to install and configure an Apache web server. These steps include procedures for securing your server as well as using a variety of modules so that you can incorporate different authentication methods and scripting languages into your web server. Then I describe how to generate certificates to create an HTTPS Transport Layer Security (TLS) website.
While most of this chapter shows you the features of a simple Apache web servers, there are other considerations for running a production quality web server. I describe a few of those considerations at the end of this chapter.
Understanding the ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access