XF 1.5 Block Access from website


Active member
Hello .

i have a website like www.example.com and IP of website is :
i dont want to peoples to access my website via ip i want to accept users only came from domain name url

this possible ?
only user who enter domain name can access website if they trying to access via domain url then website show any message or simply redirect them to domain ?