How do I get the current Salesforce domain?

So we do include some of the Site related global merge variables that are available to day in VF.  But not all of them.  Domain is not currently supported.  Check out this document to see which are available. 

http://help.skuidify.com/m/11720/l/187263-global-merge-variables-functions