Block visitors on website

Hi
I want to allow visitors on my website from an specific country only rest all the visitors should be blocked.

Hi, welcome to the Netlify Community forums! Try location based redirects: Redirect options | Netlify Docs