Atlantic.Net Blog

How to Install Apache in CentOS 6

Jose Velazquez
by Atlantic.Net (71posts) under VPS Hosting
Verified and Tested 02/25/15


In this How-To, we will walk you through the install of Apache in CentOS 6.

Apache is a web server that is very popular in Linux systems and over the Internet. It is used by many Web Hosting companies world wide because of its popularity and efficiency in hosting sites over the World Wide Web.


A cloud server with CentOS 6 already installed.  If you currently do not have a server, consider one of the many affordable virtual private servers from Atlantic.Net.

Installing Apache on CentOS 6

Install Apache with the following command:

sudo yum install httpd

Start Apache with the following command:

service httpd start

You will want the Apache service to start on start-up/reboot with the following command:

chkconfig httpd on

You can now verify that Apache is installed correctly by typing http:// and your IP on your browser.

You should see the following screenshot in your browser:

Sample Apache 2 Test Page

Apache 2 Test Page


Congratulations! You have just installed Apache on your CentOS 6 Cloud Server. Thank you for following along in this How-To and check back with us for any new updates.

Get A Free To Use Cloud VPS

Free Tier Includes:
G2.1GB Cloud VPS Free to Use for One Year
50 GB of Block Storage Free to Use for One Year
50 GB of Snapshots Free to Use for One Year

Looking for a Hosting Solution?

We Provide Cloud, Dedicated, & Colocation.

  • Seven Global Data Center Locations.
  • Flexible Private, Public, & Hybrid Hosting.
  • 24x7x365 Security, Support, & Monitoring.
Contact Us Now! Med Tech Award FTC
SOC Audit HIPAA Audit HITECH Audit

Recent Posts

Get started with 12 months of free cloud VPS hosting

Free Tier includes:
G2.1GB Cloud VPS Server Free to Use for One Year
50 GB of Block Storage Free to Use for One Year
50 GB of Snapshots Free to Use for One Year

New York, NY

100 Delawanna Ave, Suite 1

Clifton, NJ 07014

United States

San Francisco, CA

2820 Northwestern Pkwy,

Santa Clara, CA 95051

United States

Dallas, TX

2323 Bryan Street,

Dallas, Texas 75201

United States

Ashburn, VA

1807 Michael Faraday Ct,

Reston, VA 20190

United States

Orlando, FL

440 W Kennedy Blvd, Suite 3

Orlando, FL 32810

United States

Toronto, Canada

20 Pullman Ct, Scarborough,

Ontario M1X 1E4


London, UK

14 Liverpool Road, Slough,

Berkshire SL1 4QZ

United Kingdom