Multiple Domain Config in Docker #1073
-
Can you please let me know how to configure multiple domains in Docker? How do i add more domains to the SHORT_DOMAIN_HOST variable in docker? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
You don't need to add more. That env var is just for the default domain. Just make sure all the domains you want to use resolve your Shlink instance, and you should be good to go. |
Beta Was this translation helpful? Give feedback.
-
I hope you are doing well @acelaya , about this matter I would like to know how did you configure the domain for the API https://api-spec.shlink.io/#/Domains/listDomains Where you list all the domains configured. It's a bit confusing how this work because neither in my local configuration or aws DB I'm not able to visualize any Domain but it does work with bot domains just like you mentioned (Just make sure all the domains you want to use resolve your Shlink instance, and you should be good to go) |
Beta Was this translation helpful? Give feedback.
You don't need to add more. That env var is just for the default domain.
Just make sure all the domains you want to use resolve your Shlink instance, and you should be good to go.