Whitelisting Alternate Hostnames for Faspex

For security reasons, Faspex by default only allows login through the hostname configured in the faspex.yml configuration file (the hostname you designated during installation):
production:
    Hostname: hostname
If you try to log in to the web application from an unlisted hostname or perform a GET request with an unlisted hostname, Faspex returns the error, "Invalid hostname". To access Faspex from an alternate hostname, follow the instructions below to whitelist alternate hostnames by configuring the faspex.yml file.
The faspex.yml file is located in the following directory:
OS Version Location
Windows 32-bit C:\Program Files\Aspera\Faspex\config\faspex.yml
Windows 64-bit C:\Program Files (x86)\Aspera\Faspex\config\faspex.yml
  1. Make a back up of the faspex.yml configuration file before modifying.
  2. Open your faspex.yml configuration file in a text editor.
  3. Add the AcceptedHosts configuration under production: and list the whitelisted hostnames. For example:
    production:
        AcceptedHosts:
          - 127.0.0.1
          - localhost
          - faspex.mycompany.com
  4. Restart Faspex processes using the asctl utility.
    > asctl faspex:restart
  5. Test the whitelisted hostname by logging in to Faspex from that hostname.
For more information about the faspex.yml configuration file, see Configuring Faspex with faspex.yml.