I would rather have the first option, but either will work. How do I accomplish this?
Hey, I think using afraid.org might be useful. Haven’t really tried it out but, I have used it for my friends Minecraft server.
You can add setup subdomains by adding appropriate CNAME records for your DNS zone and have them end up at your project, but I don’t know that you can handle subdomains differently within your app.
Either of those should enable you to get your Glitch project responding to requests for your subdomain. If you have specific questions about any of that feel free to ask here and we’ll try to help out!