Redirect Ip to subdomain

You need to create a template for the webserver and create a new (sub)domain and assign that new template to it.
See p.e. Template for NGINX reverse proxy for Docker app and Web Templates and FastCGI/Proxy Cache | Hestia Control Panel