Posted on: 10/21/2014 2:38:23 PM | Views : 431

Hi there,
I have a webforms application at www.domain.com.
I  also redirect www.secondDomain.com, keeping its name at the address bar, at www.domain.com.
I have the following code
If Page.Request.Url.Host.ToUpper = secondDomain.com".ToUpper Then customCss.Href = "css/secondDomain.css" Else customCss.Href = "css/default.css" End If and
<link rel="stylesheet" type="text/css" href="css/default.css" runat ="server" id="customCss" /> Although the address bar has the www.secondDomain.com the Page.Request.Url.Host has the www.domain.com.
How can I get the address bar domai ...

Go to the complete details ...