My company has a rails 5.2.4 application, after starting the development server by
rails s
The server is running on localhost:3000. But a company is using app.test.com:3000 domain in order to access the application...
localhost:3000
app.test.com:3000
You can just use: lvh.me, more about subdomain
lvh.me
Run rails s -p 3000 -b lvh.me
rails s -p 3000 -b lvh.me
Visit app.lvh.me:3000
app.lvh.me:3000