Report this

What is the reason for this report?

Installing second website to single Ubuntu VPS running apache2

Posted on October 26, 2020

This is a test environment so i dont have a domain.

I have a VPS with apache2 installed and i have a website located at /var/www/html . I access it via going to my ipaddress/index.php

I want to set up another website let’s say at /var/www/site2 and be able to acceess at ipaddress/site2/index.php

How can i achieve this? The guides didn’t really help me i think im losing it somewhere in the /etc/apache2/sites-available configuration.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.