Utopia deploys your static files to random subdomains or even to the domain itself with mode=live
.
- Clone this repository
- Install dependencies
npm install
- Build TS code to JS code for Node.js to run it
npm run build
- Start the server
DOMAIN=whatever.com npm run start
For everything to work correctly, your domain (e.g. whatever.com
) has to have the folowing DNS set up:
*.whatever.com. IN A <server-ip>
whatever.com. IN A <server-ip>
Your servers ports 80 / http
and 443 / https
must not be filtered by any firewall.