Erbix

Home > Overview > Hosting and Deployment

Each Erbix apps account contains:

  • a list of files
  • a list of domains
  • tools to support development

Among such tools, one specific panel deals with the association between Javascript functions and domain names in order to properly configure the hosting environment for them. Erbix will automatically generate based on this mapping a hosting environment which will respond to client requests based on the specifications.

Each domain contains a list of aliases that will define the URLs responding to that domain. Currently we support subdomains with the pattern: <something>.erbix.com or manually-configured .com, .net and .org domains.

Each domain also contains a list of path prefixes, each mapped to a JavaScript function dealing with requests arriving via HTTP to the domain. Based on the prefix of the request the corresponding Javascript function is called.

This system allows separation between code (account files) and domain hosting configuration. At any time subdomain prefixes can be enabled or disabled by changing the prefix mappings to different Javascript functions.

This configuration is done in a user interface panel; Erbix automatically generates the config files and the webserver setup based on it.

For more technical details consult the corresponding JSGI documentation chapter.