Restrict a certain subdomain to 1 IP?

  • Hi Everyone


    I have a project I am working on, but I don't want anyone to be able to access it other than me?


    I there A way I can restrict a certain subdomain to be only access by my home IP address?


    e.g myprivatesite.mywebsite.com can only be accessed by 172.16.0.24 (yes i know that is a local IP range :D )


    Any help would be massively appreciated.


    Thanks