I am working on a rest api.
That api is used by my website and the website is used by various users. I want to restrict the api access only to my website ( no other website should be able to access that rest api ) so for that I want to whitelist my domain name on the basis of the ip of the domain name
My goal is to find the ip of domain name requesting my ip not the ip of the users accessing my domain.
How can I achieve it in nodejs?