How to join a dedicated server using the domain name instead?

I was wondering if there is a command-line that I can use to join a dedicated server using a www. address rather than using the public server IP address.

I tried the open command but works only with a public IP.
The aim is to join a multiplayer session from an HTML5 build to a dedicated server running on Windows server.
SSL encryption is enabled on both, hence the need to connect to an HTTPS address.

Any ideas please?