Gets or sets the host name override. A blank name means no override.
The page's host name override.
The HostName override can be particularly useful with secure pages. For example, if the web host has a "www." alias (that means visitors can reach the site by going to https://mysite.com
, or https://www.mysite.com
), your SSL server certificate is only good for one of them.
HostName may be used in any security mode, allowing for host redirections in any mode. For example, if you want your visitors to always see your http://www.mysite.com
alias in their address bars, you can set HostName to "www.mysite.com" and default security in your pages.
FpPage Class | Parastream.Web.UI Namespace