Apache2 on Ubuntu24-04
Generated on 8 Jul 2026 from the Apache2 on Ubuntu24-04 catalog page
Deploy a production-ready Apache2 web server on Ubuntu 24.04 LTS in seconds. This optimized image provides a secure, flexible foundation for hosting websites, APIs, and complex web applications. It is the ideal choice for developers who require a stable, industry-standard web server environment that is ready for immediate deployment.
Software Included
This Marketplace listing does not include a detailed software list.
Creating an App using the Control Panel
Click the Deploy to DigitalOcean button to create a Droplet based on this 1-Click App. If you aren’t logged in, this link will prompt you to log in with your DigitalOcean account.
Creating an App using the API
In addition to creating a Droplet from the Apache2 on Ubuntu24-04 1-Click App using the control panel, you can also use the DigitalOcean API. As an example, to create a 4GB Apache2 on Ubuntu24-04 Droplet in the SFO2 region, you can use the following curl command. You need to either save your API access token to an environment variable or substitute it in the command below.
curl -X POST -H 'Content-Type: application/json' \
-H 'Authorization: Bearer '$TOKEN'' -d \
'{"name":"choose_a_name","region":"sfo2","size":"s-2vcpu-4gb","image":"apps4rent-apache2onubuntu2"}' \
"https://api.digitalocean.com/v2/droplets"Getting Started After Deploying Apache2 on Ubuntu24-04
Once the Apache2 on Ubuntu 24.04 One-Click Droplet is created, you can log into it as root. Make sure to substitute the Droplet’s public IPv4 address:
Bash
ssh root@your_droplet_public_ipv4
The Apache web server will already be running as a service and ready to use. You can access your server’s default page by navigating to http://your_droplet_public_ipv4 in your web browser.
Verification Commands
To verify that the Apache service has been installed and is running correctly, you can run the following commands:
- To verify the installed version of Apache
Bash
apache2 -v
- To check the installation path of the Apache configuration directory
Bash
which apache2
- To check the current operational status of the Apache service
Bash
sudo systemctl status apache2