how to deploy on my root domain
The same way you would in a subdomain. Move the application into the appropriate place and set the documentroot to /public, the same way you did with your subdomain.
how to show a correct opening page ?
Read up on routing. Start by looking at config/routes.rb
If you want useful replies, ask smart questions.