ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    IIS subdomain redirect to HTTPS

    IT Discussion
    ssl iis redirect subdomain
    3
    8
    925
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • DustinB3403D
      DustinB3403
      last edited by

      So lets say I have http://xyz.bobsuncle.com and I want to redirect that to https://xyz.bobsuncle.com how would I do that with IIS's URL Rewrite?

      Everything I'm seeing seems to point to .com/something but I don't care about after the .com I want to redirect from the start ensuring everyone who accesses xyz.bobsuncle.com gets forced to use SSL.

      1 Reply Last reply Reply Quote 0
      • DustinB3403D
        DustinB3403
        last edited by

        And the reason I ask this specific question is to prevent people from just going to xyz.bobsuncle.com without https.

        I imagine I could just disable 80 traffic entirely but that's not a part of the request.

        1 Reply Last reply Reply Quote 0
        • JaredBuschJ
          JaredBusch
          last edited by

          It is URL rewrite. You can make complex rules just like Apache or Nginx.

          https://www.namecheap.com/support/knowledgebase/article.aspx/9953/38/iis-redirect-http-to-https

          DustinB3403D 1 Reply Last reply Reply Quote 1
          • DustinB3403D
            DustinB3403 @JaredBusch
            last edited by

            @JaredBusch said in IIS subdomain redirect to HTTPS:

            It is URL rewrite. You can make complex rules just like Apache or Nginx.

            https://www.namecheap.com/support/knowledgebase/article.aspx/9953/38/iis-redirect-http-to-https

            That's what I followed and it doesn't seem to work, when going to the http:// site the connection times out.

            JaredBuschJ 1 Reply Last reply Reply Quote 0
            • JaredBuschJ
              JaredBusch @DustinB3403
              last edited by

              @DustinB3403 said in IIS subdomain redirect to HTTPS:

              @JaredBusch said in IIS subdomain redirect to HTTPS:

              It is URL rewrite. You can make complex rules just like Apache or Nginx.

              https://www.namecheap.com/support/knowledgebase/article.aspx/9953/38/iis-redirect-http-to-https

              That's what I followed and it doesn't seem to work, when going to the http:// site the connection times out.

              did you check the web config and make sure it was updated?

              DustinB3403D 1 Reply Last reply Reply Quote 0
              • DustinB3403D
                DustinB3403 @JaredBusch
                last edited by

                @JaredBusch said in IIS subdomain redirect to HTTPS:

                @DustinB3403 said in IIS subdomain redirect to HTTPS:

                @JaredBusch said in IIS subdomain redirect to HTTPS:

                It is URL rewrite. You can make complex rules just like Apache or Nginx.

                https://www.namecheap.com/support/knowledgebase/article.aspx/9953/38/iis-redirect-http-to-https

                That's what I followed and it doesn't seem to work, when going to the http:// site the connection times out.

                did you check the web config and make sure it was updated?

                I didn't manually check it, no.

                1 Reply Last reply Reply Quote 0
                • DustinB3403D
                  DustinB3403
                  last edited by

                  I got it sorted out, the rule did work, but the firewall wasn't forwarding port 80 to the target host.

                  I was wondering why it worked from inside the lan, but not from the WAN. Anyways it's working now.

                  dbeatoD 1 Reply Last reply Reply Quote 1
                  • dbeatoD
                    dbeato @DustinB3403
                    last edited by

                    @DustinB3403 If it is not DNS, firewall is always a problem lol. Nice find.

                    1 Reply Last reply Reply Quote 0
                    • 1 / 1
                    • First post
                      Last post