Hot answers tagged

2

This is not possible without a wildcard certificate or a certificate for the subdomain. You could create a cert for each of your subdomains using Let's Encrypt though (assuming cost is the issue).


1

No, in general you need DNS entries (at least one wildcard entry as per your comment) so that the clients know where to look when they call the domain name. Only for strictly local dev purposes, you might get away with defining entries in your hosts file on the client. This would need to be done on every client and usually don't work on mobile devices ...



Only top voted, non community-wiki answers of a minimum length are eligible