How to access my app via ip without specify port?

  • Posted May 6, 2014

Hi, I have a Dokku app that uses Django (don’t know if that’s important).

When I type my url on browser I get a “It works” page, but when I push I get something like: –> Application deployed: http://9*...*5:49157

But when pushed an update it was like: –> Application deployed: http://9*...*5:49159

So, how can I make it, so, doesn’t matter how many times I push, it remains in same port (otherwise I won’t be able to set a domain name).

It would be perfect if you could tell me how could I make it so I didn’t have to type the port, just the url in browser and still see my code.



Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

To have a persistent URL you need to set up DNS first. There isn’t a way to have a persistent port number with Dokku. <br> <br>First you need to set up two A records: <br> <br> IN A your.ip.address <br>* IN A your.ip.address <br> <br>Then edit the file “/home/dokku/VHOST” on your droplet to contain “” Now you app will become available at: <br> <br>