Add --domain option to override the default hostname-based domain
There is currently no way to override the default (main) domain that is automatically set based on the hostname of the machine that Site.js is running on.
Suggested implementation
Define a --domain
option that sets the main domain to serve and provision a TLS certificate for. This option overrides the default behaviour (so the hostname is not used).
Note that the --aliases
option still remains and is used to also respond to other domains and have them 302 redirect to the main domain.