Posts Under Category: Apache

Login to your server as root via SSH and run below command:

To start Apache

service httpd start

To stop Apache

service httpd stop

To restart Apache

service httpd restart

Our Recommended VPS Hosting

Login as root to your server via SSH and run following command:

httpd -v

This will show you the Apache version installed on your server.
apache-version

Our Recommended VPS Hosting

If you have just received a fresh dedicated server / vps with only operating system installed, Apache may not be installed on your server. By default, Apache is not install with OS.

Here is how you can install Apache on your server.
Login to your server as root via SSH and run following command:

yum install httpd

During installation you will asked to allow download of package. Press y to allow download of package.
It will take 1-2 minutes to complete installation.
install-apache

After installation you may need to start Apache. Run following command to start Apache

service httpd start

Now open your server IP in any browser. You should get default Apache page.
default-apache-page

Our Recommended VPS Hosting