• English
    • Italiano
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

      • 7 March, 2020
        Comments Off on How to enforce SSL/TLS connections with our Cloud Hosting service

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

  • 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 May, 2020
        Comments Off on 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

      • 23 December, 2019
        Comments Off on VaiSulWeb unveils VSW Notary, a new notarization and e-signing service

        VaiSulWeb unveils VSW Notary, a new notarization and e-signing service

  • News
Next Previous

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

VaiSulWeb 7 March, 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

  • New VPN services to improve privacy and security of Internet access May 24, 2020
  • How to enforce SSL/TLS connections with our Cloud Hosting service March 7, 2020
  • VaiSulWeb unveils VSW Notary, a new notarization and e-signing service December 23, 2019
  • How to use ASP.NET Core with our hosting services October 22, 2019
  • ASP.NET Core a first-class citizen for VaiSulWeb July 30, 2019

Archives

  • May 2020
  • March 2020
  • December 2019
  • October 2019
  • July 2019
  • May 2019
  • April 2019
  • March 2019
  • May 2018
  • November 2017
  • May 2017

Categories

  • Hosting
  • Managed services
  • Security
  • Services
  • 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
Intesa Sanpaolo - Digitalizziamo Tour 2023 - Azienda selezionata

About us

  • About VaiSulWeb
  • Network and datacenters
  • Contact Us
  • Service Terms
  • Privacy Policy
More information on EU Digital Professions from Netcore s.r.l.

Latest news

  • New VPN services to improve privacy and security of Internet access

    VaiSulWeb introduces a new class of services aimed at improving privacy and

    1

    24 May, 2020
  • How to enforce SSL/TLS connections with our Cloud Hosting service

    After a certification authority issues a SSL/TLS certificate you might probably want

    1

    7 March, 2020
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
  • English
    • Italiano
VaiSulWeb