Clone this repository then run:
sudo pip install dnslib flask flask_cors
sudo python httprebind.py domain.name serverIp mode
mode is one of: ec2, ecs, gcloud
Make sure you point your domain's nameservers to the server indicated by serverIp, and that that IP is the external address of the server, IPv4.