Deployment of multi subdomain on ruby on rails
£10-20 GBP
Paid on delivery
Hi,
I have an application on ruby on rails, deployed on digital ocean.
The application allow a user to sign up and sign in. When the user is signed in, I wish the domain is forwarded to (XXXX).[login to view URL] where XXXX is the subdomain name that the user choose when signed up.
This is working in development mode, but not in production. In production the server is a droplet in digital ocean and the type of protocol is nginx.
The Ruby on rails uses a gem called apartment to manage subdomains.
Below a video of the issue.
[login to view URL]
Thanks, KR
Project ID: #28638753