I recently upgraded from Ubuntu 22.04 to 24.04 LTS. On Ubuntu 24.04, Ubuntu seems to spin up a random service on localhost:80. The index.html
file is stored at /var/www/html/index.html
by default.
I want to prevent Ubuntu from running this service upon startup because I need to run my own program on port 80 and I want it to automatically spin up if the machine gets restarted. However, it is currently colliding with the service that Ubuntu automatically spins up on port 80.
I deleted the index.html
file. After deletion, I get the following:
1