Adding a domain via the API

Serve your app on a custom domain using Servr's API in three easy step:

  1. Instruct your customer or the domain owner to create a DNS record for it pointing to our global endpoint.

You can choose the method you prefer: An A record pointing to our global endpoint'd IP Address or a CNAME record pointing to our global endpoint's domain name.



  1. Perform a Post Request to our API Endpoint providing the required information to serve a new domain. The domain in question, its target and wether or not the app is served on behind a load balancer.

  2. If DNS changes from step 1 are already propagated, the new domain will be authorized almost instantly. After step 2, perform frequent get requests to our API endpoint to monitor when the domain is authorized and actively routing traffic to your target over HTTPS.

Next steps