2.5.5. Starting and Stopping the HTTP Server


The HTTP Server can be started, stopped, and configured to start automatically at boot time either from the command line or using a graphical tool.
The following examples of running the HTTP Server will also cover the differences of undertaking this on Red Hat Enterprise Linux 5 and 6.
You can start and stop the HTTP Server service using the service command as root on a console terminal (as is typical of a network service):
To start and stop the HTTP Server service on Red Hat Enterprise Linux 5 and 6:
service httpd start
service httpd stop
Configuration can then be altered in the /etc/sysconfig/httpd file on Red Hat Enterprise Linux 5 and 6.
Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust. Explore our recent updates.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Theme

© 2026 Red Hat
Back to top