Need help?
0800 128 128
Online Support Linux Servers

Install Apache Web Server under Debian or Ubuntu

You can install Apache/Httpd under Debian/Ubuntu 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 Debian/Ubuntu use the following command:
    # apt-get install apache2
  4. To start Apache/Httpd under Debian/Ubuntu use the following commands:
    # /etc/init.d/apache2 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 Debian/Ubuntu.

Uploading website files

The default directory for Debian/Ubuntu versions is: /var/www

Was this helpful? Yes No 100% of people found this helpful.
we're
online
Need Help? Chat Now