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

    IIS subdomain redirect to HTTPS

    IT Discussion
    ssl iis redirect subdomain
    3
    8
    255
    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.
    • DustinB3403
      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
      • DustinB3403
        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
        • JaredBusch
          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

          DustinB3403 1 Reply Last reply Reply Quote 1
          • DustinB3403
            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.

            JaredBusch 1 Reply Last reply Reply Quote 0
            • JaredBusch
              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?

              DustinB3403 1 Reply Last reply Reply Quote 0
              • DustinB3403
                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
                • DustinB3403
                  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.

                  dbeato 1 Reply Last reply Reply Quote 1
                  • dbeato
                    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
                    • First post
                      Last post