Click here to Skip to main content
15,884,176 members
Home / Discussions / Hosting and Servers
   

Hosting and Servers

 
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 
GeneralRe: HTTPS URL rewriting Pin
Wombaticus21-Oct-13 8:35
Wombaticus21-Oct-13 8:35 
GeneralRe: HTTPS URL rewriting Pin
Richard Deeming21-Oct-13 8:43
mveRichard Deeming21-Oct-13 8:43 
GeneralRe: HTTPS URL rewriting Pin
Wombaticus21-Oct-13 8:57
Wombaticus21-Oct-13 8:57 
GeneralRe: HTTPS URL rewriting Pin
Wombaticus21-Oct-13 8:31
Wombaticus21-Oct-13 8:31 
QuestionSuperuser on Domain Controller Pin
[DK]KiloDunse21-Sep-13 4:18
[DK]KiloDunse21-Sep-13 4:18 
AnswerRe: Superuser on Domain Controller Pin
[DK]KiloDunse23-Sep-13 7:52
[DK]KiloDunse23-Sep-13 7:52 
QuestionHelp with web hosting Pin
Otekpo Emmanuel16-Sep-13 14:01
Otekpo Emmanuel16-Sep-13 14:01 
AnswerRe: Help with web hosting Pin
Richard MacCutchan16-Sep-13 21:16
mveRichard MacCutchan16-Sep-13 21:16 
QuestionSoftware update hosting service Pin
Andrey Moskvichev10-Sep-13 2:27
professionalAndrey Moskvichev10-Sep-13 2:27 
AnswerRe: Software update hosting service Pin
RedDk19-Sep-13 7:35
RedDk19-Sep-13 7:35 
GeneralRe: Software update hosting service Pin
Andrey Moskvichev28-Sep-13 6:01
professionalAndrey Moskvichev28-Sep-13 6:01 
GeneralRe: Software update hosting service Pin
RedDk28-Sep-13 9:08
RedDk28-Sep-13 9: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.