Best would be an alias for domains, not IP.
It's very ugly for customers to see an IP, and it's very ugly to hosting discuss to a client why domain and ip are the same resource.
The same way softaculous is working under domain, Roundcube should do it by default.