I created a rails app and have successfully deployed it to DigitalOcean. Every time I make a deployment, the port changes. First question, how do I get it to stop, and how do I get my application to respond to port 80 so I can hit it from the outside world without specifying the port number? Part of me wants to go back to heroku and just pay more because I don't get these headaches...
Rails Dokku deployments to Digitalocean receives random ports
346 views Asked by Evan Zlotnick At
2
There are 2 answers
0
frmdstryr
On
I had to enable VHOSTS for my app:
domains:enable <app>
See http://dokku.viewdocs.io/dokku/configuration/domains/#domain-configuration
Related Questions in RUBY-ON-RAILS
- How to display legend box in tooltip text for amCharts 5 in Rails application?
- how to integrate cashfree payment gateway in ruby on rails project
- RSpec Capybara throwing Selenium error when trying to click a button with browser confirm
- rails minitest not picking up fixture properly, instance variable not percolating
- Duplicate GET requests - Rails & Heroku
- How to stub out current_user in JWT model for Rspec?
- NameError in Home#index
- Verifying Google Identity OAuth2 token with Ruby
- Error WebMock::NetConnectNotAllowedError in testing with stub using minitest in rails (using Faraday)
- why is mission_control-jobs erroring with load path error?
- Rescuing validation errors from a polymorphic association
- New error on random number assigned to local variable , Rails
- How to fix error in model with gem lockbox
- Images uploaded via Active Storage not displaying in Active Admin or on certain devices
- controller test_methods generating two errors intermittently
Related Questions in DIGITAL-OCEAN
- Can't establish ssh connection to IP address but can to git
- Trying to connect to a Digitalocean App with docker results in error: invalid mount config for type "bind": bind source path does not exist
- Can't remotely connect to my postgresql database on digitalocean
- How can I setup the Nginx config for a webapp with Nuxt and Laravel on Digital Ocean?
- The media files are not being served in the dockerized django-react-postgresql portfolio from the database
- coolify custom domain cannot be validated
- nginx-ingress is not able to route to pod application
- Unhandled error event: Error: connect ETIMEDOUT in Kubernetes cluster on DigitalOcean
- Problem when trying to create a digital ocean app from github
- Next.JS 13 image loading error 403 from DIgital Ocean Spaces
- Svelte 4 Migration Issues and hosting on Digital Ocean
- Is there any way to deploy NEXT.js app to a linux server without 'building' the app inside the server?
- Laravel App Deployment Issue on Digital Ocean App Platform via GitHub
- How to deploy metabase using Laravel Forge
- Deploy rails 7 and nginx in vps
Related Questions in DOKKU
- Vite build freeze on transforming... on dokku
- Django static files Dokku
- Error during dokku let's encrypt certification
- How to Deploy Rust Axum API using Dokku
- Dokku deployment issue - "setuidgid: fatal: unable to run gunicorn: file does not exist"
- There was an error parsing `Gemfile`: `windows` is not a valid platform
- How to host a phpmyadmin on dokku?
- Error when git push to dokku app - fatal: 'test-app' does not appear to be a git repository
- Running Dokku with NodeJS and Prisma
- How to deploy a project on Dokku without using Git remote
- How to start a new process in an existing Dokku dockerfile based deployment
- How to deploy multiple projects in Dokku with Docker simultaneously
- Why is this node.js app starting a new session on every page view in production, but not in my local environment?
- How to convert http to git SSH protocol?
- Where are dokku persistent storage files actually stored on a Mac host machine?
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Unless you configure Dokku to use your domain name, it will serve the app at a random port.
Put your root domain name in the file
/home/dokku/VHOSTFrom the Dokku docs: