To add a custom domain you need to do a pull request on this repository:
└── spaces└── domains.json
To add a custom domain, fill in the Domain name field in your settings.
You must then add your domain in the domains.json file by following this example.
You will need to add this as CNAME in your domain DNS