Sign Up / Log In
Phone support has longer wait times due to the COVID-19 outbreak. Please send us an email at or click the Chat Now button on the screen.


We are currently experience longer than usual wait times within our Customer Care Centre. Our team are working through the call volume as quickly as they can however, we ask that you limit enquiries through telephone for urgent matters only at this stage. We would like to advise the utilisation of our Chat or Email support in which our team will revert to support you as quickly as possible.

Need help?
000 800 100 3215
Online Support Linux Servers

Install Apache Web Server under CentOS or Red Hat

You can install Apache/Httpd under Red Hat/CentOS by doing the following:

  1. Open your VPS console from the Power Management control panel.
  2. Log In to your VPS by entering your username and password.
  3. To install Apache/Httpd under Red Hat/CentOS use the following command:
    # yum install httpd
  4. To start Apache/Httpd under Red Hat/CentOS use the following commands:
    # chkconfig httpd on
    # /etc/init.d/httpd start
  5. httpd service runs at port 80 by default. You can check if port 80 is open by using the following command:
    # netstat -tulpn | grep :80

Congratulations, you have installed Apache/Httpd under Red Hat/CentOS.

Uploading website files

The default directory for Red Hat/CentOS versions is: /var/www/html

Was this helpful? Yes No 93% of people found this helpful.
Need Help? Chat Now