Docker Community Forums

Share and learn in the Docker community.

How to assign a domain name to a docker cloud service?


(Loganshire) #1

I’m new to docker and curious how to point a domain name to one of my docker services. E.g. I would like to point mydomain.tld to the machine at http://[service name] Is this possible?

(Taylor) #2

There are a couple of parts to this question. For most domain names, a CNAME record at your DNS manager should work to resolve to any Docker Cloud service endpoint. If it’s really “yourdomain.tld” without any prefix, then you’re interested in a concept called “zone apexes” that I’m asking about here. I’m looking for some advice as well.