Add Domain name to Docker Cloud node

1k Views Asked by At

I have created a node cluster on Docker cloud. I have one for the website and one for the DB. I have an IP address for the website, but I would like to be able to associate a sub-domain to it.

Does anyone know how, or if I can do that?

1

There are 1 best solutions below

2
On

You can use CNAME record at your DNS manager to point to the Docker Cloud service endpoint. This can be a subdomain.

e.g.

xxx.xxx.xxxxxxxx.svc.dockerapp.io  - CNAME    - sub.example.com