::shakes fist::

  • tal
    link
    fedilink
    English
    arrow-up
    22
    ·
    edit-2
    8 months ago

    When I try going to txdmv.gov, I don’t get the same server, but I do go to a machine that http-redirects my browser to www.txdmv.gov.

    $ wget http://txdmv.gov/
    --2024-04-10 17:01:26--  http://txdmv.gov/
    Resolving txdmv.gov (txdmv.gov)... 168.44.227.138
    Connecting to txdmv.gov (txdmv.gov)|168.44.227.138|:80... connected.
    HTTP request sent, awaiting response... 301 Moved Permanently
    Location: https://www.txdmv.gov [following]
    --2024-04-10 17:01:26--  https://www.txdmv.gov/
    Resolving www.txdmv.gov (www.txdmv.gov)... 3.222.136.66, 18.234.22.91
    Connecting to www.txdmv.gov (www.txdmv.gov)|3.222.136.66|:443... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: unspecified [text/html]
    Saving to: ‘index.html’
    
    index.html              [  <=>              ] 203.91K   986KB/s    in 0.2s    
    
    2024-04-10 17:01:27 (986 KB/s) - ‘index.html’ saved [208802]
    $
    

    EDIT: Ah, apparently it redirects http://txdmv.gov/, but not https://txdmv.gov/.

    considers

    Based on @malloc@lemmy.world’s comment, maybe some browsers interpret a bare hostname without protocol specifier as an http address, and some as an https address.

    • lemmyvore@feddit.nl
      link
      fedilink
      English
      arrow-up
      3
      ·
      7 months ago

      maybe some browsers interpret a bare hostname without protocol specifier as an http address, and some as an https address.

      And if you have a browser that does the former I would suggest finding a better one soon. The internet is moving away from unencrypted HTTP, a browser that doesn’t default to HTTPS nowadays is pretty strange.

      • eco_game@discuss.tchncs.de
        link
        fedilink
        English
        arrow-up
        2
        ·
        7 months ago

        While I do mostly agree with your statement, it’s incredibly annoying when I type in a local IP for my router or server and it automatically gets turned into https.