February 25th, 2010, 06:56 AM
Url without https:\\
Im very new in this.
I have a website in iis: https:\\myweb.com
Can i set it up that the user has to type only myweb.com in the browser and not the entire linke https:\\myweb.com ?
Thanks in advance.
February 25th, 2010, 07:11 AM
Hi, most modern web browsers (if not all) will prefix URLs with http:// if this is omitted. So for example, if you type "myweb.com", the browser will request "http://myweb.com" from the web server. But it will never append https://
What you need is a redirection on your web server like
http://myweb.com ==> 302 Redirect ==> https://myweb.com
This way if someone types "myweb.com" they will be automatically redirected to https://myweb.com.
February 26th, 2010, 05:56 AM
Thanks for reply,
Im getting error hhtp 400 bad request.
I tried to change this error html page to a redirect.htm page through properties of my website and custom erros.
The problem is that even ofter changing that, im getting still the same error page hhtp 400 bad request.
im using asp.net and iis 6.0
Any idea how to fix this?