Overview
The apache2.conf file is the primary configuration file for Apache on a Dedicated Server, and editing it lets you control Apache's global settings.
To edit the apache2.conf file, you must have a Dedicated Server with an admin user. root/sudo access is not available on VPS machines.
How do I edit the apache2.conf file?
To edit this file:
- Log into your server via SSH.
- Navigate to the following directory. In this example, dh123456 is your Dedicated server name.
[server]$ cd /etc/apache2-apache2-dh123456/apache2.conf
- Edit this file to make your needed adjustments.