# How do I publish a web api/site?

**URL:** <https://forums.suse.com/t/how-do-i-publish-a-web-api-site/9110>\
**Category:** General\
**Created:** [February 6, 2018, 1:47am UTC](https://forums.suse.com/t/how-do-i-publish-a-web-api-site/9110 "2018-02-06T01:47:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![st3fan](https://avatars.discourse-cdn.com/v4/letter/s/5f8ce5/32.png) [@st3fan](https://forums.suse.com/u/st3fan)\
**Post date:** [February 6, 2018, 1:47am UTC](https://forums.suse.com/t/how-do-i-publish-a-web-api-site/9110/1 "2018-02-06T01:47:06Z")

</div>

I’m looking for a tutorial that explains how to expose a web api (or web app).

Sorry for the noob question, but I am a new Racher user and I am having a hard time wrapping my head around all the moving parts.

I have a small Stack with Redis and a REST API. I wrote the latter. I got everything to deploy with a small docker-compose.yml.

But now I want this API to become available under a name, say [api.staging.example.com](http://api.staging.example.com).

If I were to do this manually, I would spin up Caddy or Nginx, setup Let’s Encrypt and proxy to the API. But, I understand that Rancher can do most or al of this automatically. Including updating the DNS.

Is there a simple tutorial that explains how to do this?
