System Status
Buy Now
  • Email & Apps
  • Office 365
Login
  • MyRackspace Portal
  • Cloud Control Panel
  • Rackspace Webmail Login
  • Cloud Office Control Panel
  • Support Home
  • How-To
  • Developer Documentation
  •  Blogs 
    • Expert Insights Tech Blog
    • Rackspace Blog
    • Solve: Thought Leadership

Support Network

End-to-End Multicloud Solutions.   Solving Together.™   Learn more at Rackspace.com

How–To Home

Cloud Servers

  • Introduction
  • FAQ
  • All Articles

Install Apache on CentOS 8

Last updated on:  2020-07-28

Authored by:  Rackspace Support


The Apache® HTTP Server, colloquially called Apache, is a free and open-source cross-platform web server software. Apache is an extremely popular web service that operates a large portion of the websites on the internet. This article describes how to install Apache and open your server’s firewall to allow web traffic through.

Prerequisites

You need a Linux®-based server running CentOS® 8.

Install Apache

Perform the following steps to install Apache:

  1. Run the following command to install the Apache web service, which serves as a base for your application:

    dnf -y install @httpd
    
  2. Run the following commands to configure Apache to start on boot and update the software firewall:

    systemctl enable --now httpd
    firewall-cmd --add-service={http,https} --permanent
    firewall-cmd --reload
    

You should now be able to navigate your server’s IP address in a browser and see the Apache test page to confirm you’ve configured the server correctly. This page also displays useful information to configure Apache to serve your custom website or application.

Share this information:

©2020 Rackspace US, Inc.

Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License

See license specifics and DISCLAIMER

About Rackspace
  • About
  • Customer Stories
  • Events
  • Programs
Blogs
  • The Rackspace Blog
  • Expert Insights Tech Blog
  • Solve: Thought Leadership
  • News
  • Contact Information
  • Legal
  • Careers
Site Information
  • Style Guide for Technical Content
  • Trademarks
  • Privacy Statement
  • Website Terms
Support Network
  • Support Network Home
  • Rackspace How-To
  • API Documentation
  • Developer Center
  • ©2020 Rackspace US, Inc.