web applications - asp.net,web forms,about url task -


i have project name let take "xyz",it live project there on website,problem that

when write "xyz" on browser url place , click enter not ctlr+enter has redirect "http://www.xyz.com".in programatic way using .net 2.0 , iis server project.so please tell me solution that

2nd problem in same url when write "xyz.com"then enter going page displaying "http://xyz.com" instead of http://www.xyz.com"

so please tell me if u have answer problem in .net 2.0 , iis server

for first part of question, not possible. cannot control browser send "xyz" there many factors including person's isp determine request "xyz" sent.

for second part of question, suggest setting redirect in iis forward requests form xyz.com www.xyz.com see http://technet.microsoft.com/en-us/library/cc732969%28ws.10%29.aspx info on how that.


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

aspxgridview - Devexpress grid - header filter does not work if column is initially hidden -

c# - How to execute a particular part of code asynchronously in a class -