Click here to Skip to main content
15,913,685 members
Home / Discussions / Hosting and Servers
   

Hosting and Servers

 
AnswerRe: Web hosting Pin
Ravi Bhavnani28-Dec-13 13:34
professionalRavi Bhavnani28-Dec-13 13:34 
QuestionDatabase Pin
Member 1048686725-Dec-13 1:38
Member 1048686725-Dec-13 1:38 
QuestionUsing the IIS_AppPool\website name Identity on a Domain member server on Server 2012 Pin
jkirkerx20-Dec-13 10:50
professionaljkirkerx20-Dec-13 10:50 
GeneralRe: Using the IIS_AppPool\website name Identity on a Domain member server on Server 2012 Pin
jkirkerx20-Feb-14 13:09
professionaljkirkerx20-Feb-14 13:09 
QuestionWeb hosting Pin
Otekpo Emmanuel12-Dec-13 6:17
Otekpo Emmanuel12-Dec-13 6:17 
AnswerRe: Web hosting Pin
Eddy Vluggen12-Dec-13 8:51
professionalEddy Vluggen12-Dec-13 8:51 
GeneralRe: Web hosting Pin
Otekpo Emmanuel12-Dec-13 9:37
Otekpo Emmanuel12-Dec-13 9:37 
GeneralRe: Web hosting Pin
Eddy Vluggen12-Dec-13 9:44
professionalEddy Vluggen12-Dec-13 9:44 
GeneralRe: Web hosting Pin
Otekpo Emmanuel12-Dec-13 10:29
Otekpo Emmanuel12-Dec-13 10:29 
GeneralSolved: Web hosting Pin
Otekpo Emmanuel16-Dec-13 4:43
Otekpo Emmanuel16-Dec-13 4:43 
QuestionSystem.Runtime.InteropServices.COMException: Access is denied. Pin
Rajesh Somarajan10-Dec-13 5:35
Rajesh Somarajan10-Dec-13 5:35 
AnswerRe: System.Runtime.InteropServices.COMException: Access is denied. Pin
GAJAVALLISANTOSH19-Dec-13 2:56
GAJAVALLISANTOSH19-Dec-13 2:56 
QuestionNaming Conversion Issue in Host name Pin
dayakar_dn1-Dec-13 21:39
dayakar_dn1-Dec-13 21:39 
QuestionRemote Desktop To HyperV VM Externally Pin
Nilesh bhope13-Nov-13 19:22
Nilesh bhope13-Nov-13 19:22 
AnswerRe: Remote Desktop To HyperV VM Externally Pin
Bernhard Hiller13-Nov-13 21:11
Bernhard Hiller13-Nov-13 21:11 
GeneralRe: Remote Desktop To HyperV VM Externally Pin
Nilesh bhope13-Nov-13 21:47
Nilesh bhope13-Nov-13 21:47 
QuestionHow to upload sql database on ftp server Pin
vipulparmar9028-Oct-13 1:13
vipulparmar9028-Oct-13 1:13 
AnswerRe: How to upload sql database on ftp server Pin
thatraja28-Oct-13 1:34
professionalthatraja28-Oct-13 1:34 
QuestionWeb hosting Pin
AndyInUK23-Oct-13 23:51
AndyInUK23-Oct-13 23:51 
QuestionHTTPS URL rewriting Pin
Wombaticus21-Oct-13 7:13
Wombaticus21-Oct-13 7:13 
I am trying to force a canonical domain rewrite for HTTPS in IIS using the rewrite module - i.e
if user types
https://mydomain.com?querystring
they get sent to
https://www.mydomain.com?querystring

I can get this to work for the simple HTTP protocol, but not HTTPS - I've tried all sorts of variations but this is the closest (as I say, it works for HTTP)
XML
<rewrite>
    <rules>
        <rule name="force_www_https" enabled="true" patternSyntax="ECMAScript" stopProcessing="true">
            <match url=".*" />
            <conditions>
                <add input="{HTTPS_HOST}" pattern="^mydomain.com$" />
            </conditions>
            <action type="Redirect" url="https://www.mydomain.com/{R:0}" redirectType="Permanent" />
        </rule>
        <rule name="force_www" enabled="true" patternSyntax="ECMAScript" stopProcessing="true">
            <match url=".*" />
            <conditions>
                <add input="{HTTP_HOST}" pattern="^mydomain.com$" />
            </conditions>
            <action type="Redirect" url="http://www.mydomain.com/{R:0}" redirectType="Permanent" />
        </rule>
    </rules>

so why won't my HTTPS URL's redirect?

The issue is my SSL certificate which is only valid for www.mydomain.com, so if users type in teh URL for a secure page without the www. they get presented with a browser securoty warning.

Any help gratefully received!
AnswerRe: HTTPS URL rewriting Pin
Richard Deeming21-Oct-13 7:38
mveRichard Deeming21-Oct-13 7:38 
GeneralRe: HTTPS URL rewriting Pin
Wombaticus21-Oct-13 7:50
Wombaticus21-Oct-13 7:50 
GeneralRe: HTTPS URL rewriting Pin
Richard Deeming21-Oct-13 8:07
mveRichard Deeming21-Oct-13 8:07 
GeneralRe: HTTPS URL rewriting Pin
Wombaticus21-Oct-13 8:15
Wombaticus21-Oct-13 8:15 
GeneralRe: HTTPS URL rewriting Pin
Richard Deeming21-Oct-13 8:30
mveRichard Deeming21-Oct-13 8:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.