I want my VPS to host multiple domains and subdomains but have a different website for each, where do I put this :?
https://httpd.apache.org/docs/2.4/vhosts/name-based.html
Code:
<VirtualHost *:80>
# This first-listed virtual host is also the default for *:80
ServerName www.example.com
ServerAlias example.com
DocumentRoot "/www/domain"
</VirtualHost>
<VirtualHost *:80>
ServerName other.example.com
DocumentRoot "/www/otherdomain"
</VirtualHost>
