Rails project deploy on AWS, port-free access

Asked

Viewed 57 times

0

I need to upload a site developed in Rails in the AWS. However, whenever I give the start it is only accessible if I specify the port used by Rails

(www.dominio.com:3000, for example).

I tried to solve this by going to the balance settings of AWS, but I was not successful.

Could someone give me a direction as to what I can do to solve such a problem?

1 answer

0

If using Rails 5 change the port inside the file config/puma.rb.

But it seems to me that you are wanting to put in production an application made in Rails, and are confusing the environment of development (that runs at door 3000 by default) with production environment.

I’m not familiar with AWS, but I believe you need to set up an instance on Amazon, then set up your application stack (web server, database, etc)

I hope I’ve helped

Browser other questions tagged

You are not signed in. Login or sign up in order to post.