I've registered several domains for my nieces and nephews, the idea being to create small static webpages for them, so they can say 'look at my website!'.
In terms of hosting it, I'm using expressjs on Heroku, to serve up static pages.
What I'm wanting to do is have:
http://suzy-derkins.space --> my-herokuapp.herokuapp.com/static/suzy http://calvin-is-trouble.space --> my-herokuapp.herokuapp.com/static/calvin
Now I can user a CNAME record to point each of my domains at
my-herokuapp.herokuapp.com, but a CNAME record won't allow a full URL.
I could add an unmasked redirect, so that
http://suzy-derkins.space redirects to
https://suzy-derkins.space/static/suzy, but that's ugly.
I don't want to use a masked URL redirect - as that causes problems on mobile, and also the user presses any links, the new page remains masked.
I'd also like to retain the ability to add additional pages, for example:
http://my-herokuapp.herokuapp.com/static/suzy/my-favourite-things be represented by
What kind of records do I use to do this?