If you don't want to change any application code, you could have separate instances of Starman listening at different ports, and then have a user-facing Apache instance that runs a reverse proxy for each subdomain.
I use a similar setup for a host that started off with only Apache, and now forwards some domains to a Mojolicious application, and it works fine.
In reply to Re: Plack and multiple domains
by moritz
in thread Plack and multiple domains
by szabgab
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |