Subdomain & multi-level subdomains
Squash supports a special syntax for dealing with any level of subdomains. This allows your application subdomains to still work with SSL/HTTPS without the need of separate SSL certificates. If you are curious, Squash also supports custom domains & custom/Free SSL.
Here is how it works: Squash translates any
double dashes (--) within the hostname and converts them to subdomains when passing the request to the application’s backend. We also support multiple levels of subdomains.
When Squash receives this request it will translate it to the following URL when passing it to the backend – everything is transparent for the end user:
The same discussed above works for any level of subdomains. For instance, the URL below is supported:
and Squash will pass the following to the application’s backend: