Tel: +39 0984 1527937
info@vaisulweb.com
  • Customers Area
  • Whois
  • Contact Us
VaiSulWebVaiSulWebVaiSulWebVaiSulWeb
  • Hosting
    • Windows Hosting
      • Windows .NET Hosting
      • Windows .NET Dedicated Hosting
    • Hosting Linux
      • VSW Linux Basic
    • Related News

      • 8 Dicembre, 2025
        Commenti disabilitati su Più velocità, più scelta, nuove offerte per agenzie, copertura globale: nuovi pacchetti per Linux

        Più velocità, più scelta, nuove offerte per agenzie, copertura globale: nuovi pacchetti per Linux

  • Domains
  • Cloud and servers
    • Virtual Private Servers
      • VSW Cloud Server
      • VSW Cloud Server – Series L
    • Platforms
      • Microsoft Azure
      • Microsoft Office 365
  • Security
    • SSL Certificates
      • Introduction to SSL certificates
      • RapidSSL certificates
      • DigiCert Certificates
      • GeoTrust SSL certificates
      • Comodo / Sectigo SSL certificates
      • Thawte Certificates
      • Trustwave Certificates
    • Other security services
      • Backup services
      • Monitoring Services
      • Code-signing certificates
      • VPN Services
    • Related news

      • 24 Maggio, 2020
        Commenti disabilitati su New VPN services to improve privacy and security of Internet access

        New VPN services to improve privacy and security of Internet access

  • Infrastructures
    • Column1
      • Windows Server Failover Clustering
      • Storage Spaces Direct (S2D)
      • Hyper-converged infrastructures
    • Column2
      • Kubernetes
      • Azure Service Fabric
      • cPanel Hosting infrastructure
    • Related News

  • Solutions
    • Managed services
      • Enteprise Mail & Collaboration
      • TeamShare Services
      • S3 Storage Services
      • Matomo Analytics
    • Managed services
      • Streaming and transcoding services
      • Notarization and e-signing service
      • Windows Bastion Service
    • Related News

      • 8 Agosto, 2025
        Commenti disabilitati su Sicurezza e privacy per i servizi di file sharing enterprise: il caso WeTransfer

        Sicurezza e privacy per i servizi di file sharing enterprise: il caso WeTransfer

  • News
Next Previous

How to enforce SSL/TLS connections with our Cloud Hosting service

VaiSulWeb 7 Marzo, 2020

After a certification authority issues a SSL/TLS certificate you might probably want to force the Web server to use only secure connections by switching any http connection to a https one. Our Cloud Hosting service is based on Windows Server so you cannot use a .htaccess file to do that.

However, you can simply change your web.config file, which contains most of the settings that you can manage, to add a new rewrite rule that ensures that all the http connections will be automatically switched to secure mode:

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
        <rewrite>
            <rules>
                <!-- Enable to force redirect to HTTPS -->
                <rule name="Redirect to https" stopProcessing="true">
                    <match url=".*" />
                    <conditions>
                        <add input="{HTTPS}" pattern="off" ignoreCase="true" />
                    </conditions>
                    <action type="Redirect" url="https://{HTTP_HOST}{REQUEST_URI}" redirectType="Permanent" appendQueryString="false" />
                </rule>
            </rules>
        </rewrite>     
</system.webServer>
</configuration>

That code is a complete web.config file, the minimum required to enforce secure connections. In most cases you probably already have an existing web.config file so you can simply add the rule, that is the part between the and lines.

1

Search

Recent news

  • Più velocità, più scelta, nuove offerte per agenzie, copertura globale: nuovi pacchetti per Linux Dicembre 8, 2025
  • Oltre lo streaming: come VaiSulWeb aiuta le aziende a costruire ecosistemi di contenuti proprietari Ottobre 23, 2025
  • La nuova infrastruttura basata su Windows Server 2025: sicurezza e disponibilità senza compromessi Agosto 22, 2025
  • Cloud Repatriation in crescita: perché le aziende italiane stanno abbandonando gli hyperscaler Agosto 14, 2025
  • Continuità dei servizi cloud: lezioni critiche dagli incidenti dei maggiori provider iperscalabili Agosto 13, 2025

Archives

  • Dicembre 2025
  • Ottobre 2025
  • Agosto 2025
  • Maggio 2025
  • Dicembre 2024
  • Agosto 2024
  • Giugno 2024
  • Dicembre 2023
  • Novembre 2023
  • Ottobre 2023
  • Settembre 2023
  • Maggio 2023
  • Aprile 2023
  • Febbraio 2023
  • Gennaio 2023
  • Dicembre 2022
  • Agosto 2022
  • Giugno 2022
  • Gennaio 2022
  • Maggio 2020
  • Marzo 2020
  • Dicembre 2019
  • Ottobre 2019
  • Luglio 2019
  • Maggio 2019
  • Aprile 2019
  • Marzo 2019
  • Maggio 2018
  • Novembre 2017
  • Ottobre 2017
  • Maggio 2017

Categories

  • Analisi
  • Case study
  • Cloud
  • cPanel
  • Database
  • Eventi
  • Gaming
  • HCI
  • Hosting
  • Hosting
  • Infrastrutture
  • Managed services
  • Privacy
  • Security
  • Services
  • Servizi
  • Servizi
  • Servizi gestiti
  • Sicurezza
  • Strumenti
  • Tutorial
  • VaiSulWeb
  • VaiSulWeb

  • You may also like

    How to use ASP.NET Core with our hosting services

    Read now
  • You may also like

    ASP.NET Core a first-class citizen for VaiSulWeb

    Read now
  • You may also like

    New Linux hosting services starting from € 29,90 / year

    Read now

Contact info

Via Corrado Alvaro 31
87036 Rende (CS)
Italy
+39 0984 1527937
info@vaisulweb.com

Contatti

Via Corrado Alvaro 31
87036 Rende (CS)
Italia
+39 0984 1527937
info@vaisulweb.com
Intesa Sanpaolo - Digitalizziamo Tour 2023 - Azienda selezionata

About us

  • About VaiSulWeb
  • Network and datacenters
  • Contact Us
  • Service Terms
  • Privacy Policy

Chi siamo

  • Chi siamo
  • Network e datacenters
  • Contatti
  • Condizioni di servizio
  • Nota sulla privacy
More on EU Digital Professions from Netcore s.r.l.

Latest news

  • Più velocità, più scelta, nuove offerte per agenzie, copertura globale: nuovi pacchetti per Linux

    VaiSulWeb è da sempre impegnata nel fornire ai propri clienti prestazioni ed

    0

    8 Dicembre, 2025
  • Oltre lo streaming: come VaiSulWeb aiuta le aziende a costruire ecosistemi di contenuti proprietari

    TL;DR VaiSulWeb ha acquisito i diritti streaming di Farha e Senza di

    1

    23 Ottobre, 2025

Novità

  • Più velocità, più scelta, nuove offerte per agenzie, copertura globale: nuovi pacchetti per Linux

    VaiSulWeb è da sempre impegnata nel fornire ai propri clienti prestazioni ed

    0

    8 Dicembre, 2025
  • Oltre lo streaming: come VaiSulWeb aiuta le aziende a costruire ecosistemi di contenuti proprietari

    TL;DR VaiSulWeb ha acquisito i diritti streaming di Farha e Senza di

    1

    23 Ottobre, 2025

Iscriviti alla newsletter

Iscrizione newsletter 2

Questa newsletter non distribuisce più di un messaggio al mese.

Copyright © 1999-2024 VaiSulWeb (una divisione di Netcore s.r.l. a socio unico) - P.IVA IT03149210787 - REA CS214579
  • Hosting
    • Cloud Hosting
      • Windows .NET Hosting
      • Windows .NET Dedicated Hosting
    • Linux hosting
      • VSW Linux Basic
  • Domains
  • Cloud and servers
    • Virtual Private Servers
      • VSW Cloud Server
      • VSW Cloud Server – L
    • Platforms
      • Microsoft Azure
      • Microsoft Office 365
  • Security
    • SSL Certificates
      • Overview of SSL Certificates
      • RapidSSL certificates
      • DigiCert Certificates
      • GeoTrust SSL certificates
      • Comodo / Sectigo SSL certificates
      • Thawte Certificates
      • Trustwave Certificates
    • Other security services
      • Backup services
      • Monitoring Services
      • Code-signing certificates
      • VPN Services
  • Infrastructures
    • Windows Server Failover Clustering
    • Hyper-converged infrastructures
    • Storage Spaces Direct (S2D)
    • Azure Service Fabric
    • Kubernetes
    • cPanel Hosting infrastructure
  • Solutions
    • Enteprise Mail & Collaboration
    • TeamShare Services
    • S3 Storage Services
    • Windows Bastion Service
    • Notarization and e-signing service
    • Matomo Analytics
  • News
  • About VaiSulWeb
    • About VaiSulWeb
    • Network and datacenters
  • Contact Us
  • Customers Area
  • Whois
VaiSulWeb