Nginx ip address to domain name
===

I am using Linode VPS, My application is up and running on ip address linode provides
But I want to change it to domain name like api.?????.com

How to do it

Thanks