Wildcard domains

Glitch allows you to have multiple custom domains on a project but I think it would be cool to have wildcard domains.

Note: For anyone who does not know what a wild card is:

A wildcard DNS record is a record in a DNS zone that will match requests for non-existent domain names. A wildcard DNS record is specified by using a * as the leftmost label (part) of a domain name, e.g. *.example.com.

- Wikipedia

Also @TurboBiscuit said he was too lazy to make a feature request, so I made it for him.

I suppose you could always use Express’s vhost plugin.

2 Likes

It may need updating. It hasn’t been updated in 5 years.

It might, but I’ve seen websites that use it and it works quite well.

1 Like

The express vhost module has no effect on Glitch, considering that everything goes through the reverse-proxy which at the end of the day will only send the {project}.glitch.me as the host header, or nothing at all.

Sorry to bump this but will this ever happen?

1 Like