Hosting rails with domain name on leased server

IP addresses are mapped to host names via DNS -- the Domain Name System. Your hosting provider or domain registrar should have information about setting that up.

HTH,