3 ms·
So in Apache, you can do something like this: <VirtualHost *:443> ServerName app.example.com ServerAlias *.example.com DocumentRoot /var/www/ </
by mattl 5y ago
So in Apache, you can do something like this:
<VirtualHost *:443>
ServerName app.example.com
ServerAlias *.example.com
DocumentRoot /var/www/
</VirtualHost>
Then you just need to make the app check if the subdomain is an active account or not.