I want to have two sites that use the same domain name and also shares same folder and what separates them is a prefix in the URL.
For example:
- mywebsite.domain.com => /var/www/site1
- mywebsite1.domain.com => /var/www/site1
How can I achieve this in apache2 on port 443? i just want to configure it in 000-default.conf file instead of creating multipe sites.conf file.
ServerAlias
directive.