Deploy Rails project on AWS, access without using port

0

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

  

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

I've tried to work around this in AWS balance settings, but I was not successful.

Can anyone give me a direction on what I can do to solve such a problem?

    
asked by anonymous 06.12.2017 / 15:29

1 answer

0

If you are using rails 5 change the port within the config/puma.rb file.

But it seems to me that you are wanting to put into production an application made in Rails, and it is confusing the development environment (which runs on port 3000 by default) with production environment.

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

I hope I have helped

    
28.12.2017 / 16:59