[Bug]: Portainer Service Template Custom URL Not Working
Error Message and Logs
When using the default Portainer service template, accessing it via a configured domain results in a Not found error
Steps to Reproduce
- Create new resource
- Select Portainer service
- Set "Domains" to a custom domain (here, I set it to the subdomain of the domain that maps to my VPS. For example, my VPS IP is mapped to
https://hello.com, so I set the custom domain of the Portainer service tohttps://portainer.hello.com) - Run the service
- Visit the custom domain specified (if we're following along with the example in item 3, visit
https://portainer.hello.com)
Example Repository URL
No response
Coolify Version
v4.0.0-beta.418
Are you using Coolify Cloud?
No (self-hosted)
Operating System and Version (self-hosted)
Ubuntu 24.04.2 LTS
Additional Information
The service itself appears to be running, as when I checked the status of the docker container (via docker ps -a), it reports a status of healthy. Furthermore, using the default domain that was generated also errors out, but results in a different error this time, saying that the site took too long to respond (screenshot below)
@0-BSCode can you add :9000 https://portainer.example.com:9000 to the end of the domain you have given in coolify project page and restart, i think this container exposes multiple ports, so you need to say which you want to route to.
@0-BSCode can you add :9000
https://portainer.example.com:9000to the end of the domain you have given in coolify project page and restart, i think this container exposes multiple ports, so you need to say which you want to route to.
~The default domain includes the port number, but I get the error shown above when trying to access~
Was able to get it to work. Thank you! What reference did you use to identify this as the fix?
I have tried this and it still did not work on my end. I even added the :9000 port to my url.
Coolify Version v4.0.0-beta.418
Are you using Coolify Cloud? No (self-hosted)
Operating System and Version (self-hosted) Ubuntu 24.04.2 LTS
Below is my coolify configuration
these are my logs:
this is what I get on my browser when I open it:
you need to restart your portainer service
also for things that can access your server directly, do not post the urls unless they are behind some form of auth
its working fine
you need to restart your portainer service
also for things that can access your server directly, do not post the urls unless they are behind some form of auth
its working fine
Thank you so much. saw it fixed