Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How this work with Apache or Nginx? #991

Open
jazzi opened this issue Apr 30, 2022 · 0 comments
Open

How this work with Apache or Nginx? #991

jazzi opened this issue Apr 30, 2022 · 0 comments

Comments

@jazzi
Copy link

jazzi commented Apr 30, 2022

Hi, my VPS has apache running and I created a directory /src/www/crm for it and updated the DNS, ping the new domain works.

I followed the Ubuntu installation guide and everything seems fine, see the result of rails server below:

rails server
=> Booting Puma
=> Rails 6.1.5 application starting in development 
=> Run `bin/rails server --help` for more startup options
[21173] Puma starting in cluster mode...
[21173] * Puma version: 5.6.4 (ruby 3.0.0-p0) ("Birdie's Version")
[21173] *  Min threads: 5
[21173] *  Max threads: 5
[21173] *  Environment: development
[21173] *   Master PID: 21173
[21173] *      Workers: 2
[21173] *     Restarts: (✔) hot (✔) phased
[21173] * Listening on http://127.0.0.1:3000
[21173] * Listening on http://[::1]:3000
[21173] Use Ctrl-C to stop
[21173] - Worker 0 (PID: 21178) booted in 0.0s, phase: 0
[21173] - Worker 1 (PID: 21181) booted in 0.0s, phase: 0

Then I opened http://newdomain:3000 and nothing happened, error showed ** can not open this page**.

So I stopped Apache, try above again but got the same result.

I am quite new to rails or ruby, and this looks very different to Wordpress, don't know what to do next, I will appreciate for any help.

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant