Adding Domain to Docker Container

Posted April 9, 2018 18.4k views
DockerUbuntu 16.04

Hello Community –
I’m trying to add a domain name to my UNMS (Ubiquiti) instance. I have it up and running and all is well. However, I have a “A” record pointing to the IP of the container. The domain name (as example) points to the IP address and it works.

However, I’m trying to translate that IP address into the actual hostname I have routed as “”. I’m sure there is something I need to do in Docker, but I cannot find anything relative to my current problem. Any help? New to the container environment’s.

Here is the install article for UNMS if this helps.


These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

This guide might help. It covers domain mapping within Docker.