Configure two SSL sites in IIS7 with the same IP and port










1














I would like to know how could I configure two sites for use as https. The sites are placed in the same machine (and the same IP). And I would like to use on both the default port 443.



For example:



enter image description here



I want an application inside site1.com to be SSL, and other application inside site2.com to be SSL too. Is this possible, and how could I configure it?










share|improve this question




























    1














    I would like to know how could I configure two sites for use as https. The sites are placed in the same machine (and the same IP). And I would like to use on both the default port 443.



    For example:



    enter image description here



    I want an application inside site1.com to be SSL, and other application inside site2.com to be SSL too. Is this possible, and how could I configure it?










    share|improve this question


























      1












      1








      1


      1





      I would like to know how could I configure two sites for use as https. The sites are placed in the same machine (and the same IP). And I would like to use on both the default port 443.



      For example:



      enter image description here



      I want an application inside site1.com to be SSL, and other application inside site2.com to be SSL too. Is this possible, and how could I configure it?










      share|improve this question















      I would like to know how could I configure two sites for use as https. The sites are placed in the same machine (and the same IP). And I would like to use on both the default port 443.



      For example:



      enter image description here



      I want an application inside site1.com to be SSL, and other application inside site2.com to be SSL too. Is this possible, and how could I configure it?







      asp.net-mvc iis iis-7 https web






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 12 '18 at 21:59









      halfer

      14.3k758109




      14.3k758109










      asked Oct 9 '13 at 10:21









      Daniel Peñalba

      15.8k25101189




      15.8k25101189






















          2 Answers
          2






          active

          oldest

          votes


















          1














          You need to have 2 different IP addresses on the server for this to work. You will have the first site bound to the first IP and the second site to the second. In the bindings of the website you have to explicitly choose the correct IP address. Then you can select the SSL certificate for each site.






          share|improve this answer




















          • It's correct. This is the way I proceeded and worked.
            – Daniel Peñalba
            Oct 9 '13 at 13:58


















          1














          If you aren't going to go with Wildcard SSL Certificate, your only hope is Server Name Indication. yet, SNI is only supported in IIS version 8.



          See http://www.iis.net/learn/get-started/whats-new-in-iis-8/iis-80-server-name-indication-sni-ssl-scalability






          share|improve this answer




















            Your Answer






            StackExchange.ifUsing("editor", function ()
            StackExchange.using("externalEditor", function ()
            StackExchange.using("snippets", function ()
            StackExchange.snippets.init();
            );
            );
            , "code-snippets");

            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "1"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f19269334%2fconfigure-two-ssl-sites-in-iis7-with-the-same-ip-and-port%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            1














            You need to have 2 different IP addresses on the server for this to work. You will have the first site bound to the first IP and the second site to the second. In the bindings of the website you have to explicitly choose the correct IP address. Then you can select the SSL certificate for each site.






            share|improve this answer




















            • It's correct. This is the way I proceeded and worked.
              – Daniel Peñalba
              Oct 9 '13 at 13:58















            1














            You need to have 2 different IP addresses on the server for this to work. You will have the first site bound to the first IP and the second site to the second. In the bindings of the website you have to explicitly choose the correct IP address. Then you can select the SSL certificate for each site.






            share|improve this answer




















            • It's correct. This is the way I proceeded and worked.
              – Daniel Peñalba
              Oct 9 '13 at 13:58













            1












            1








            1






            You need to have 2 different IP addresses on the server for this to work. You will have the first site bound to the first IP and the second site to the second. In the bindings of the website you have to explicitly choose the correct IP address. Then you can select the SSL certificate for each site.






            share|improve this answer












            You need to have 2 different IP addresses on the server for this to work. You will have the first site bound to the first IP and the second site to the second. In the bindings of the website you have to explicitly choose the correct IP address. Then you can select the SSL certificate for each site.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Oct 9 '13 at 11:11









            Darin Dimitrov

            835k22029982738




            835k22029982738











            • It's correct. This is the way I proceeded and worked.
              – Daniel Peñalba
              Oct 9 '13 at 13:58
















            • It's correct. This is the way I proceeded and worked.
              – Daniel Peñalba
              Oct 9 '13 at 13:58















            It's correct. This is the way I proceeded and worked.
            – Daniel Peñalba
            Oct 9 '13 at 13:58




            It's correct. This is the way I proceeded and worked.
            – Daniel Peñalba
            Oct 9 '13 at 13:58













            1














            If you aren't going to go with Wildcard SSL Certificate, your only hope is Server Name Indication. yet, SNI is only supported in IIS version 8.



            See http://www.iis.net/learn/get-started/whats-new-in-iis-8/iis-80-server-name-indication-sni-ssl-scalability






            share|improve this answer

























              1














              If you aren't going to go with Wildcard SSL Certificate, your only hope is Server Name Indication. yet, SNI is only supported in IIS version 8.



              See http://www.iis.net/learn/get-started/whats-new-in-iis-8/iis-80-server-name-indication-sni-ssl-scalability






              share|improve this answer























                1












                1








                1






                If you aren't going to go with Wildcard SSL Certificate, your only hope is Server Name Indication. yet, SNI is only supported in IIS version 8.



                See http://www.iis.net/learn/get-started/whats-new-in-iis-8/iis-80-server-name-indication-sni-ssl-scalability






                share|improve this answer












                If you aren't going to go with Wildcard SSL Certificate, your only hope is Server Name Indication. yet, SNI is only supported in IIS version 8.



                See http://www.iis.net/learn/get-started/whats-new-in-iis-8/iis-80-server-name-indication-sni-ssl-scalability







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Oct 9 '13 at 11:27









                haim770

                39.2k474109




                39.2k474109



























                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Stack Overflow!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.





                    Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                    Please pay close attention to the following guidance:


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f19269334%2fconfigure-two-ssl-sites-in-iis7-with-the-same-ip-and-port%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    這個網誌中的熱門文章

                    How to read a connectionString WITH PROVIDER in .NET Core?

                    Node.js Script on GitHub Pages or Amazon S3

                    Museum of Modern and Contemporary Art of Trento and Rovereto