burger
infomaniak
infomaniak
  • Products
    • Our best-sellers
    • I would like
    • Domain name
    • Hosting and Cloud
    • kSuite
    • Backup & storage
    • Marketing
    • Ticketing solution
    • Multimedia
    Our flagship products :
        Our current flagship products kSuite
      • kdrive kDrive
        Store, collaborate and share your files
      • mail service kMail
        The mailbox that respects your privacy
      • kChat kChat Beta
        Communicate live with your team
      • General public
      • Domain name Domain name
        Reserve your domain name at the best price
      • web hosting Web Hosting
        Create your websites (WordPress + 100 CMS)
      • web hosting Wordpress hosting
        Create your website easily with WordPress
      • Site Creator Site Creator
        Build your website step by step
      • Cloud Computing
      • Cloud Server Linux/Windows server
        Create a Windows or Linux server
      • public cloud Public cloud
        High-Performance Cloud Infrastructure
      • jelastic cloud Jelastic Cloud (PaaS)
        Your custom development environments
      • swiss backup Swiss Backup
        Back up all your devices in Switzerland
      Quick actions
      Transfer a domain name Compare hosting offers Migrate email addresses Renewal Warranty Pay an invoice Guides and FAQs
      What would you like to do?
        Create a website
      • New Create a website with the Infomaniak website generator
      • Create a site with WordPress
      • Create a website with CMS
      • Find a web agency to create my website
      • Compare hosting offers
        Manage my domain name
      • Transfer a domain
      • Transfer multiple domains
        Collaborate online
      • Create an email address
      • Store files online with kDrive
        Store my data
      • kDrive
      • Swiss Backup
      • Nas Synology
        Manage my organisation
      • Pay an invoice
      • Renew a product
      • Get Renewal Warranty
      • Become a partner
      • Become an affiliate
        All you need to ensure your presence on the internet.
      • Domain name Domain name
        Reserve your domain name at the best price
      • renewal warranty Renewal Warranty
        Secure your domains against loss and theft
      • Domain privacy Domain Privacy
        Protect your domains’ private data
      • DNS Fast Anycast FastAnycast DNS
        Boostez le temps d’acces de vos sites
      • SSL Certificat SSL certificates
        Secure your websites with an EV or DV certificate
      • Dyn DNS DynDNS
        Easily access your devices remotely
      Quick actions
      Transfer a domain name Launch a Whois search Compare domain prices Our tips
      Renew a domain name
        All you need for your sites, apps and email addresses. Web
      • web hosting Web Hosting
        Create your websites (WordPress + 100 CMS)
      • web hosting Wordpress hosting
        Create your website easily with WordPress
      • Site Creator Site Creator
        Build your website step by step
      • Cloud Server Managed Cloud Server
        Create your websites using 100% dedicated resources
      • High availibility Very High Availability
        Cloud infrastructure with custom SLA contract
      • Cloud Computing
      • Cloud Server Linux/Windows server
        Create a Windows or Linux server
      • public cloud Public Cloud (IaaS)
        High-Performance Cloud Infrastructure
      • jelastic cloud Jelastic Cloud (PaaS)
        Your custom development environments
      • swiss backup Swiss Backup
        Back up all your devices in Switzerland
      Quick actions
      All-in-one web + mail offer Renewal Warranty Guides and resources Renew a hosting
      Case studies
      Read article
        kSuite, the ethical collaborative solution
        Find all the applications you need to collaborate online.
        Discover the kSuite
        Included with kSuite
      • kdrive kDrive
        Store, collaborate and share your files
      • kpaste kPaste
        Share and encrypt your sensitive information
      • ksuite Custom Brand
        Control the brand image of your products
      • mail service kMail
        The mailbox that respects your privacy
      • swisstransfer SwissTransfer
        Send your files up to 50 GB free of charge.
      • kChat kChat Beta
        Communicate live with your team
      • kmeet kMeet
        Organise your meetings online in complete security
      Quick actions
      Migrate email addresses Import files from a different cloud Renewal Warranty Guides and FAQs Migrate from a different messaging service Renew
      Case studies
      Read article
        Backup and send your documents securely
      • swiss backup Swiss Backup
        Back up all your devices in Switzerland
      • kdrive kDrive
        Store, collaborate and share your files
      • nas synology Synology NAS
        Hire a NAS in Switzerland with a fixed IP
      Quick actions
      Why store data with Infomaniak? Renewal Warranty Guides and FAQs
      Renew
        Keep in touch and communicate easily with your audience
      • newsletter Newsletter
        Send your newsletters at favourable rates
      • Guest Manager Guest manager
        Manage invitations to your events easily
      Quick actions
      Guides and FAQs
      Buying credits
        Organise your events with an approved ticketing system
      • online shop Ticketing
        Create your ticketing service and sell tickets.
      • Access Control Access Control
        Easily control access to your events.
      • events portal Events portal
        Promote and purchase your tickets.
      • Promote and sell your tickets
        Festival
        Concert
        Theatre
        Sport
        Museum exhibition
        Funny
        Family
        Leisure activities
      Quick actions
      Prices and FAQs Sales, printing and control equipment Log in to my ticketing service
      Case studies
      Read article
        Broadcast your programmes and videos on a large scale
      • Streaming radio Streaming radio
        Create your online radio and monetise your live content
      • streaming video Streaming Video
        Create your online TV and monetise your webcasts
      • VOD and AOD VOD & AOD service
        Host and monetise your videos and podcasts
      Quick actions
      Guides and FAQs
      Renew
    • About us
      • Vision and values Our vision, our commitments
      • The team The teams behind our products
      • Infomaniak and the environment Our environmental commitments
      • Infomaniak is recruiting Want to join us? Apply now!
      • Press and communication All our resources at your disposal
      • Blog & news Follow and share our news
      • Partners Search for or become an Infomaniak partner
      quote image

      Choosing infomaniak means being committed to the economy of tomorrow. Sustainable, social and local: infomaniak’s values for 25 years.

      Boris Siegenthaler, Co-Founder and CSO

      quote image

      We cannot save the world by complying with the current rules because the rules need to be changed. Everything must change and this needs to start today.

      Alexandre Patti, Energy Manager

      quote image

      Don’t come and work here... you’ll never be able to leave!

      Thibaut, front-end developer

      quote image

      Infomaniak is an independent company committed to ecology, a sustainable economy and a privacy-friendly internet. We design and develop our infrastructures and cloud solutions from start to finish.

      quote image

      The best place to follow the continuous development of our products and our ethical and ecological vision of digital transformation.

      Partner programme

      Benefit from our know-how and grow your clientele

      Become a partner →

      The Infomaniak partners

      Search among more than 1000 partners

      See the partners →

      Call for tenders

      Call on our partners to help you with your project

      Create a call for tenders →
    • Support
      • FAQs 1000 FAQs, 500 tutorials and instructional videos
      • Documentation for developers Free access to our APIs for your projects
      • About the support service Close and attentive to our customers
      • Premium Support offer Support dedicated to your needs
    • Price
      Updated price.
      All prices are now displayed excluding taxes All prices are now displayed including taxes
      Language
      • English
        • Français
        • Deutsch
        • Italiano
        • Español
      • EN
        • FR
        • DE
        • IT
        • ES
      Price
      Updated price.
      All prices are now displayed excluding taxes All prices are now displayed including taxes
    • Sign up
    • Sign in
      • Workspace

        Webmail, contacts, calendar

      • Manager

        Managing Infomaniak products

    Knowledge base

    1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!

    Knowledge base Configuring or customizing the HSTS of a website/hosting

      Configuring or customizing the HSTS of a website/hosting

      This guide explains how to disable or set HSTS for a website. When HSTS is enabled for a website, the server tells site visitors (if their web browser is compatible) to replace all non-secure links with secure links. For example, http://www.example.com/a/page/ is automatically replaced by https://www.example.com/a/page/

      After a SSL certificate has been enabled on a website, HSTS is configured as follows:

      max-age=16000000

       

      Disabling HSTS

      1. with a CMS (WordPress, Joomla, etc.)

      The following line must be included in all the pages generated by the CMS:

      header( 'Strict-Transport-Security: max-age=0;' );

      For WordPress, this command can, for example, be added in the functions.php file of your theme:

      add_action ('send_headers', 'add_header_xua' );
      function add_header_xua() {
      header( 'Strict-Transport-Security: max-age=0;' );
      }

      For more details on WordPress: https://codex.wordpress.org/Plugin_API/Action_Reference/send_headers

      2. with a PHP site

      The following line must be included on all php pages:

      header( 'Strict-Transport-Security: max-age=0;' );

      To do this without having to change every php page on a site, the command auto_prepend_file can be used in the .user.ini file of the site concerned:

      auto_prepend_file=/home/clients/xxxx/web/hsts_disable.php

      ... with the following hsts_disable.php file:

      header( 'Strict-Transport-Security: max-age=0;' );

      3. with a site with static content (non PHP)

      It is necessary to include this header in the .htaccess file:

      # BEGIN DISABLE HSTS

      Header always set Strict-Transport-Security "max-age=0; includeSubDomains;"

      # END DISABLE HSTS

      Customizing the HSTS

      The default value can be modified in the php files of your website using the following command:

      header( 'Strict-Transport-Security: max-age=X; includeSubdomains; preload' );

      (X being the number of seconds required)

       

      Enabling HSTS for all the sub-domains hosted

      includeSubDomains; is enabled by default and, as its name suggests, will include the subdomains in the "Strict Transport Security".

      When visitors go to a non-secure subdomain, the browser will automatically redirect to the HTTPS and trigger a security error.

      If this behaviour is not wanted, this header must be removed.

       

      Deleting the HSTS cache from your browser

      1. In Chrome, type chrome://net-internals/#hsts
      2. Enter the domain name in the text field in the "Delete domain security policies" section
      3. Click on Delete
      4. Enter the domain name in the text field for the "Query HSTS" section
      5. Click on Query
      6. The response must be "Not found"
      1. With Safari, start by closing the browser
      2. Delete the ~/Library/Cookies/HSTS.plist file 
      3. Reopen Safari
      1. With Firefox, close all tabs
      2. Open the Firefox menu and click on History / Show history.
      3. Look for the page for which you want to delete the HSTS options
      4. Right-click on one of the corresponding entries
      5. Choose Forget this site


      Link to this FAQ:
      Has this FAQ been helpful?
      Thank you for your feedback. Improve this FAQ?
      Please do not ask any questions through this form, it is only used to improve our FAQ.
      Please use our contact form for any question.
      Your message has been sent. Thank you for suggesting an improvement to this FAQ.
      Display all FAQs for this product

      Infomaniak

      About Infomaniak Infomaniak is recruiting Press and media Infomaniak blog All certificates

      Support

      Assistance 7/7 FAQ and guides Premium Support offer API REST Report abuse

      Partnerships

      Become a reseller Affiliate programme Directory of partners Requests for quotes

      Ecology

      Green hosting Certificates & awards

      Follow our development

      The email entered is invalid

      icann-logo
      swiss
      new-iso
      swiss-hosting
      ©2023 Infomaniak - Legal documents - Legal notice - Data Protection - Privacy Policy - Site map
      facebook
      twitter
      linkedin
      instagram
      infomaniak-avatar
      facebook
      twitter
      linkedin
      instagram
      icann-logo
      swiss
      new-iso
      swiss-hosting

      Infomaniak

      About Infomaniak Infomaniak is recruiting Press and media Infomaniak blog All certificates

      Support

      Assistance 7/7 FAQ and guides Premium Support offer API REST Report abuse

      Partnerships

      Become a reseller Affiliate programme Directory of partners Requests for quotes

      Ecology

      Green hosting Certificates & awards

      Follow our development

      The email entered is invalid
      icann-logo
      swiss
      new-iso
      swiss-hosting

      facebook
      twitter
      linkedin
      instagram
      ©2023 Infomaniak
      Contracts - Legal notice - Data Protection - Privacy Policy - Site map

      Managers

      Your browser is outdated, security and browsability are no longer guaranteed. We recommend that you update it as soon as possible by clicking here.