Welcome to the Apache2 default page on Ubuntu! This page indicates that the Apache HTTP server is functioning correctly following its installation on Ubuntu systems.
This default welcome page is modeled after the Debian equivalent, serving as an initial confirmation of the server's operation. If you see this page, the web server is set up properly. To proceed with hosting, you should replace this page file, which is located at /var/www/html/index.html.
If you are a visitor to this website and are seeing this message, it likely means the website is temporarily offline for maintenance. If issues persist, reaching out to the site's administrator is recommended.
The Apache2 default configuration on Ubuntu differs from the upstream defaults and is organized into various files tailored for optimal interaction with Ubuntu tools. You can find comprehensive documentation in /usr/share/doc/apache2/README.Debian.gz. If the apache2-doc package is installed on your server, additional documentation for the web server can be accessed.
| Directory | Description |
|---|---|
| /etc/apache2/ | Main configuration files |
| apache2.conf | Primary configuration file |
| ports.conf | Listening ports configuration |
| mods-enabled/ | Modules configurations |
| conf-enabled/ | Global configuration snippets |
| sites-enabled/ | Active virtual host configurations |
By default, Ubuntu restricts access via web browsers solely to files within /var/www, public_html directories (if enabled), and /usr/share for web applications. Should your website use a document root located elsewhere, such as /srv, adjustments to /etc/apache2/apache2.conf to whitelist your document root may be necessary.
If you encounter bugs within the Apache2 package on Ubuntu, please use the ubuntu-bug tool to report them. Before submitting a new bug report, check for existing reports. For bugs related to specific modules, direct those reports to the appropriate packages instead of the web server.