Reverse proxy with webserver

hello guys, i just installed erpnext on a VPS with a ip ex: but i also have a webserver with my main domain ex: and ip, so how to properly set my to got directly to my erpnext website vps server with ? thanks in advanced.

You own the domain so add a DNS record of that points direct to your instance server. set up a site using bench.

but in this way, my website using erpnext website settings will be only accessible @, i want my erpnext generated website be accessible as main domain