The URLPrefix method returns the root domain as determined by the site dictionary’s NonSecureHostName value. The returned string can be used as the prefix to a complete URL.
Page.URLPrefix()
None.
To generate the domain for the secure host, use the Page.SURLPrefix method.
The following example:
mscsPage.URLPrefix()
returns the following string, assuming the domain is www.microsoft.com:
http://www.microsoft.com