#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2007
    Posts
    5
    Rep Power
    0

    Url without https:\\


    Dear All,

    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.
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2009
    Posts
    106
    Rep Power
    7
    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.

    Live Support Chat for your website
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2007
    Posts
    5
    Rep Power
    0
    Hi Alan,
    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?

    Thanks.

IMN logo majestic logo threadwatch logo seochat tools logo