{"id":13765,"date":"2026-07-27T09:23:48","date_gmt":"2026-07-27T09:23:48","guid":{"rendered":"https:\/\/www.hostinger.com\/support\/?p=13765"},"modified":"2026-07-27T09:23:48","modified_gmt":"2026-07-27T09:23:48","slug":"which-web-standards-and-connectivity-features-are-supported-at-hostinger","status":"publish","type":"post","link":"https:\/\/www.hostinger.com\/support\/which-web-standards-and-connectivity-features-are-supported-at-hostinger\/","title":{"rendered":"Which web standards and connectivity features are supported at Hostinger"},"content":{"rendered":"<p>Most web standards and connectivity features at Hostinger work out of the box on <a href=\"https:\/\/www.hostinger.com\/web-hosting\"><strong>Web<\/strong> <\/a>and <a href=\"https:\/\/www.hostinger.com\/cloud-hosting\"><strong>Cloud<\/strong> <\/a>hosting plans, since they&rsquo;re client-side or standard server-level technologies rather than root-access requirements. CORS, AJAX, OpenSSL, cURL, and the core DNS record types are all available by default, while a few specific technologies &mdash; outgoing WebSocket connections only, and select Cloudflare services &mdash; come with narrower conditions. Each is covered individually below.<\/p><h2 id=\"h-is-cors-supported-at-hostinger\">Is CORS supported at Hostinger?<\/h2><p>Cross-Origin Resource Sharing (CORS) <strong>can be used<\/strong> on all <a href=\"https:\/\/www.hostinger.com\/web-hosting\"><strong>Web<\/strong> <\/a>and <a href=\"https:\/\/www.hostinger.com\/cloud-hosting\"><strong>Cloud<\/strong> <\/a>hosting plans.<\/p><p>To enable it, add the following lines to the website&rsquo;s .htaccess file:<\/p><pre>&lt;IfModule mod_headers.c&gt;\r\nHeader set Access-Control-Allow-Origin \"*\"\r\n&lt;\/IfModule&gt;<\/pre><p class=\"no-margin\">If you don&rsquo;t have an .htaccess file, you can easily <b><a class=\"intercom-content-link\" href=\"\/support\/1583307-how-to-create-an-htaccess-file\/\" target=\"_blank\" rel=\"noopener\">create one<\/a><\/b> and then add the lines to start using CORS.<\/p><p class=\"no-margin\">In case you want to define the cross-origin headers in a <b>PHP file<\/b>, use the following code:<\/p><pre><code>&lt;?php\r\nheader(\"Access-Control-Allow-Headers: Authorization, Content-Type\");\r\nheader(\"Access-Control-Allow-Origin: *\");\r\nheader('content-type: application\/json; charset=utf-8');\r\n?&gt;<\/code><\/pre><p class=\"no-margin\"><b>NOTE<\/b><\/p><ul>\n<li>\n<p class=\"no-margin\">For the resources to load properly, CORS needs to be added to the <b>origin source<\/b><\/p>\n<\/li>\n<\/ul><h2 id=\"h-is-cloudflare-supported-at-hostinger\">Is Cloudflare supported at Hostinger?<\/h2><p>Cloudflare is a Content Delivery Network (CDN) and Distributed Denial of Service (DDoS) mitigation service that enhances the performance, security, and reliability of websites.<\/p><p class=\"no-margin\">The following Cloudflare services are supported in <b>all our hosting plans<\/b>:<\/p><ul>\n<li>\n<p class=\"no-margin\"><b>Cloudflare DNS<\/b>: Manage your domain&rsquo;s DNS records<\/p>\n<\/li>\n<li>\n<p class=\"no-margin\"><b>Cloudflare CDN<\/b>: A content delivery network that can improve the performance of your website<\/p>\n<\/li>\n<li>\n<p class=\"no-margin\"><b>Cloudflare Firewall<\/b>: Protect your website from attacks<\/p>\n<\/li>\n<li>\n<p class=\"no-margin\"><b>Universal SSL<\/b>: Free SSL\/TLS protection and other premium encryption options.<\/p>\n<\/li>\n<\/ul><p class=\"no-margin\">As for the following Cloudflare services:<\/p><ul>\n<li>\n<p class=\"no-margin\"><b>Cloudflare Workers<\/b>: Serverless functions that run on Cloudflare&rsquo;s edge network<\/p>\n<\/li>\n<li>\n<p class=\"no-margin\"><b>Cloudflare Pages<\/b>: A static site hosting service that uses Cloudflare Workers<\/p>\n<\/li>\n<li>\n<p class=\"no-margin\"><b>Cloudflare Tunnel<\/b>: A service that allows you to tunnel traffic from your local machine to Cloudflare&rsquo;s edge network<\/p>\n<\/li>\n<li>\n<p class=\"no-margin\"><b>Cloudflare Access<\/b>: Restrict access to your website based on user identity<\/p>\n<\/li>\n<\/ul><p class=\"no-margin\">They are only supported on our <b><a class=\"intercom-content-link\" href=\"https:\/\/www.hostinger.com\/vps-hosting\" target=\"_blank\" rel=\"noopener\">VPS Hosting plans<\/a> <\/b>since they require <b>root access<\/b> to your server.<\/p><p><strong>NOTE<\/strong><\/p><ul>\n<li>Only one CDN should be enabled at a time. If another CDN, such as Hostinger CDN, is already active, disable it before activating Cloudflare.<\/li>\n<\/ul><h2 id=\"h-can-i-use-ajax-on-my-website-at-hostinger\">Can I use AJAX on my website at Hostinger?<\/h2><p>AJAX is a set of web development techniques that use client-side web technologies to create asynchronous web applications.<\/p><p>Since AJAX is based on JavaScript, which is <strong>fully supported<\/strong> at Hostinger, it can be used without any issues.<\/p><h2 id=\"h-do-you-support-openssl-at-hostinger\">Do you support OpenSSL at Hostinger?<\/h2><p>OpenSSL is a software library for applications that secure communications over computer networks against eavesdropping or that need to verify the identity of the other party in a connection.<\/p><p>OpenSSL is <strong>supported by default<\/strong> on Hostinger&rsquo;s servers.<\/p><h2 id=\"h-is-curl-enabled-at-hostinger\">Is cURL enabled at Hostinger?<\/h2><p class=\"no-margin\">cURL, short for <b>Client for URLs<\/b>, is a command-line tool and library for transferring data using URL (web addresses). It supports a <b>wide range of protocols<\/b> and it can be used for making HTTP requests to interact with web services and download files among other <b>network-related tasks<\/b>.<\/p><p class=\"no-margin\">cURL provides a simple and powerful interface, allowing to specify various <b>options and parameters<\/b>. It is available on Linux, macOS, and Windows, and is also accessible through programming languages like PHP, Python, and JavaScript, where it can be used to make HTTP requests programmatically.<\/p><p>cURL is <strong>installed and enabled by default<\/strong> on all <a href=\"https:\/\/www.hostinger.com\/web-hosting\"><strong>Web<\/strong> <\/a>and <a href=\"https:\/\/www.hostinger.com\/cloud-hosting\"><strong>Cloud<\/strong> <\/a>hosting plans.<\/p><h2 id=\"h-are-sockets-supported-at-hostinger\">Are sockets supported at Hostinger?<\/h2><p class=\"no-margin\">A WebSocket is a communication protocol that allows<b> constant two-way communication <\/b>between a client (such as a web browser) and a server, enabling real-time data exchange. Some of the common uses are:<\/p><ul>\n<li>\n<p class=\"no-margin\"><b>Real-time web applications<\/b> such as live chat, online gaming, financial trading platforms, and collaborative tools<\/p>\n<\/li>\n<li>\n<p class=\"no-margin\"><b>Live content updates<\/b>, for example, social media notifications, live sports scores, or stock market updates<\/p>\n<\/li>\n<li>\n<p class=\"no-margin\"><b>Interactive and dynamic web experiences<\/b>. For instance, online collaborative editing tools, drawing applications, or virtual classrooms<\/p>\n<\/li>\n<\/ul><p class=\"no-margin\">For security reasons, <b>our <a href=\"https:\/\/www.hostinger.com\/web-hosting\"><strong>Web<\/strong> <\/a>and <a href=\"https:\/\/www.hostinger.com\/cloud-hosting\"><strong>Cloud<\/strong> <\/a>hosting plans<\/b>&nbsp;<b>only allow for outgoing connections<\/b> via WebSocket. That is, you can <b>initiate <\/b>a WebSocket request from your hosting to another server (eg., outside of Hostinger), and upon successful handshake, a dual communication channel is established. You can then send messages to the other server, and the server can respond asynchronously without issues.<\/p><p class=\"no-margin\">If your application requires <b>incoming connections<\/b> as well as outgoing, you can consider a <b><a class=\"intercom-content-link\" href=\"https:\/\/www.hostinger.com\/vps-hosting\" target=\"_blank\" rel=\"noopener\">VPS plan<\/a><\/b>, where you will have maximum configuration flexibility to adapt to your project<\/p><h2 id=\"h-what-dns-record-types-are-supported-at-hostinger\">What DNS record types are supported at Hostinger?<\/h2><p class=\"no-margin\">Hostinger supports <b>A<\/b>, <b>CNAME<\/b>, <b>MX<\/b>, <b>TXT<\/b>, <b>AAAA<\/b>, <b>NS<\/b>, <b>SRV<\/b>,<b> <\/b>and <b>CAA <\/b>types of DNS records. You can find more details on the related articles below:<\/p><ul>\n<li>\n<p class=\"no-margin\">DNS Zone delegation by changing the NS records or <a class=\"intercom-content-link\" href=\"\/support\/1696789-how-to-change-nameservers-at-hostinger\/\" target=\"_blank\" rel=\"noopener\">nameservers<\/a><\/p>\n<\/li>\n<li>\n<p class=\"no-margin\">Point your domain or subdomain: <a class=\"intercom-content-link\" href=\"\/support\/4468886-how-to-add-and-remove-a-records-in-hpanel\/\" target=\"_blank\" rel=\"noopener\">A records<\/a>, <a class=\"intercom-content-link\" href=\"\/support\/8899705-how-to-manage-aaaa-records\/\" target=\"_blank\" rel=\"noopener\">AAAA<\/a>, and <a class=\"intercom-content-link\" href=\"\/support\/4738777-how-to-manage-cname-records-on-hpanel\/\" target=\"_blank\" rel=\"noopener\">CNAME<\/a><\/p>\n<\/li>\n<li>\n<p class=\"no-margin\">Email-related records:<b> <\/b><a class=\"intercom-content-link\" href=\"\/support\/4443666-how-to-add-and-remove-mx-records-in-hpanel\/\" target=\"_blank\" rel=\"noopener\">MX<\/a>, <a class=\"intercom-content-link\" href=\"\/support\/1583673-how-to-enable-or-add-spf-records-on-hpanel\/\" target=\"_blank\" rel=\"noopener\">SPF<\/a> and <a class=\"intercom-content-link\" href=\"\/support\/1583664-how-to-add-txt-records-to-dns-zone\/\" target=\"_blank\" rel=\"noopener\">TXT<\/a><b> <\/b>(for DKIM and DMARC)<\/p>\n<\/li>\n<li>\n<p class=\"no-margin\">SSL-related: <a class=\"intercom-content-link\" href=\"\/support\/5950464-how-to-manage-caa-records\/\" target=\"_blank\" rel=\"noopener\">CAA Records<\/a><\/p>\n<\/li>\n<li>\n<p class=\"no-margin\">Service records:<b> <\/b><a class=\"intercom-content-link\" href=\"\/support\/1583251-how-to-add-srv-record-to-dns-zone\/\" target=\"_blank\" rel=\"noopener\">SRV<\/a><\/p>\n<\/li>\n<li>\n<p class=\"no-margin\"><a class=\"intercom-content-link\" href=\"\/support\/1583664-how-to-add-txt-records-to-dns-zone\/\" target=\"_blank\" rel=\"noopener\">TXT records<\/a><\/p>\n<\/li>\n<\/ul><p class=\"no-margin\">As well as a general guide on<b> <\/b><a class=\"intercom-content-link\" href=\"\/support\/1583249-how-to-manage-my-dns-records-on-hpanel\/\" target=\"_blank\" rel=\"noopener\">how to manage DNS records at Hostinger<\/a>.<\/p><p>Most of these web standards and connectivity features are enabled by default on Web and Cloud hosting plans without any extra configuration. The main exceptions are outgoing-only WebSocket connections and a handful of Cloudflare&rsquo;s more advanced services &mdash; Workers, Pages, Tunnel, and Access &mdash; which require VPS Hosting for root access.<\/p><p><strong>Additional resources<\/strong><\/p><ul>\n<li><a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/HTTP\/CORS\" target=\"_blank\" rel=\"noopener\">MDN CORS documentation<\/a><\/li>\n<li><a href=\"https:\/\/developers.cloudflare.com\/\" target=\"_blank\" rel=\"noopener\">Cloudflare documentation<\/a><\/li>\n<li><a href=\"https:\/\/curl.se\/docs\/\" target=\"_blank\" rel=\"noopener\">cURL documentation<\/a><\/li>\n<li><a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/API\/WebSockets_API\" target=\"_blank\" rel=\"noopener\">MDN WebSocket API documentation<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Check supported web standards, CORS settings, AJAX, OpenSSL, cURL, and DNS records on Hostinger plans.<\/p>\n","protected":false},"author":594,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"include_on_kodee":true,"footnotes":""},"categories":[218],"tags":[],"class_list":["post-13765","post","type-post","status-publish","format-standard","hentry","category-supported-technologies-and-functions"],"hreflangs":[],"include_on_kodee":true,"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/13765","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/users\/594"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/comments?post=13765"}],"version-history":[{"count":2,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/13765\/revisions"}],"predecessor-version":[{"id":13767,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/13765\/revisions\/13767"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/media?parent=13765"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/categories?post=13765"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/tags?post=13765"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}