Click here to Skip to main content
15,849,137 members
Home / Discussions / Hosting and Servers
   

Hosting and Servers

 
QuestionNaming Conversion Issue in Host name Pin
dayakar_dn1-Dec-13 22:39
dayakar_dn1-Dec-13 22:39 
QuestionRemote Desktop To HyperV VM Externally Pin
Nilesh bhope13-Nov-13 20:22
Nilesh bhope13-Nov-13 20:22 
AnswerRe: Remote Desktop To HyperV VM Externally Pin
Bernhard Hiller13-Nov-13 22:11
Bernhard Hiller13-Nov-13 22:11 
GeneralRe: Remote Desktop To HyperV VM Externally Pin
Nilesh bhope13-Nov-13 22:47
Nilesh bhope13-Nov-13 22:47 
QuestionHow to upload sql database on ftp server Pin
vipulparmar9028-Oct-13 2:13
vipulparmar9028-Oct-13 2:13 
AnswerRe: How to upload sql database on ftp server Pin
thatraja28-Oct-13 2:34
professionalthatraja28-Oct-13 2:34 
QuestionWeb hosting Pin
AndyInUK24-Oct-13 0:51
AndyInUK24-Oct-13 0:51 
QuestionHTTPS URL rewriting Pin
Wombaticus21-Oct-13 8:13
Wombaticus21-Oct-13 8: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 8:38
mveRichard Deeming21-Oct-13 8:38 
GeneralRe: HTTPS URL rewriting Pin
Wombaticus21-Oct-13 8:50
Wombaticus21-Oct-13 8:50 
GeneralRe: HTTPS URL rewriting Pin
Richard Deeming21-Oct-13 9:07
mveRichard Deeming21-Oct-13 9:07 
GeneralRe: HTTPS URL rewriting Pin
Wombaticus21-Oct-13 9:15
Wombaticus21-Oct-13 9:15 
GeneralRe: HTTPS URL rewriting Pin
Richard Deeming21-Oct-13 9:30
mveRichard Deeming21-Oct-13 9:30 
GeneralRe: HTTPS URL rewriting Pin
Wombaticus21-Oct-13 9:35
Wombaticus21-Oct-13 9:35 
GeneralRe: HTTPS URL rewriting Pin
Richard Deeming21-Oct-13 9:43
mveRichard Deeming21-Oct-13 9:43 
GeneralRe: HTTPS URL rewriting Pin
Wombaticus21-Oct-13 9:57
Wombaticus21-Oct-13 9:57 
GeneralRe: HTTPS URL rewriting Pin
Wombaticus21-Oct-13 9:31
Wombaticus21-Oct-13 9:31 
QuestionSuperuser on Domain Controller Pin
[DK]KiloDunse21-Sep-13 5:18
[DK]KiloDunse21-Sep-13 5:18 
AnswerRe: Superuser on Domain Controller Pin
[DK]KiloDunse23-Sep-13 8:52
[DK]KiloDunse23-Sep-13 8:52 
QuestionHelp with web hosting Pin
Otekpo Emmanuel16-Sep-13 15:01
Otekpo Emmanuel16-Sep-13 15:01 
AnswerRe: Help with web hosting Pin
Richard MacCutchan16-Sep-13 22:16
mveRichard MacCutchan16-Sep-13 22:16 
QuestionSoftware update hosting service Pin
Andrey Moskvichev10-Sep-13 3:27
professionalAndrey Moskvichev10-Sep-13 3:27 
AnswerRe: Software update hosting service Pin
RedDk19-Sep-13 8:35
RedDk19-Sep-13 8:35 
GeneralRe: Software update hosting service Pin
Andrey Moskvichev28-Sep-13 7:01
professionalAndrey Moskvichev28-Sep-13 7:01 
GeneralRe: Software update hosting service Pin
RedDk28-Sep-13 10:08
RedDk28-Sep-13 10:08 

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.