PHP
What are the advantages of choosing a web host in Reunion Island?
When your web host has servers in Reunion Island, it means that your files and data are stored on a server located geographically close to your audience: this can significantly reduce the loading time of your website for local visitors. By choosing a local host, you can benefit from quality technical support in French, available during your business hours. By hosting your website in Reunion Island, you can be sure that you comply with French and European data protection and privacy lFew readersHow to deploy a Laravel or Symfony site?
On your hosting, you must place your files in the publichtml directory, but this causes issues with frameworks like Symfony or Laravel that require their files to be placed in a public directory. There is a simple method to use Symfony or Laravel with your hosting: Connect via SSH or go to the Terminal in cPanel Make sure you are at the root of your hosting: cd ~ Rename the publichtml directorFew readersHow to use PHP X-Ray to find out what is slowing down your site?
If you find that your website is slow, the causes can be multiple and difficult to analyze, which is why we provide you with a tool, PHP X-Ray, that allows you to detect what may be slowing down access to your PHP website. This tool is located in the "Software" section of your cPanel. PHP Xray PHP X-Ray is a tool designed to monitor website performance and detect performance isFew readersThe "Authorization" header is missing, what to do?
The Authorization header is not accessible by default with PHP-FPM (the solution we use to speed up PHP), but there is a simple way to retrieve it. Simply add the following line to your .htaccess file: SetEnvIf Authorization "(.*)" HTTPAUTHORIZATION=$1Note: Several frameworks already include such a line (or an equivalent one) in their default configuration. Similarly, if you expect to find the PHPAUTHUSER or PHPAUTHPW variables, they are not present either, but you can reFew readersHow to add a scheduled task (cron)?
The cron tool allows you to add scheduled tasks to your hosting. A scheduled task automatically executes a command (or script) at a defined frequency (every hour, every week, etc.). Log in to your cPanel In the "Advanced" section, choose "Cron Jobs" Choose the frequency either with the "Common Settings" menu or the individual settings below: (https://hodi.host/images/kb/8Screenshot-2023-01-13-at-17.33.5Few readersYour site displays a 500 "Internal Server Error"
If you get a 500 error, it means the server encountered a problem while executing your site. Here are the steps to identify and resolve the issue. You will need your developer to help you. Check the errors in the Apache logs Apache error logs are accessible directly in cPanel. Here is how to access them: Log in to your cPanel Go to the "Metrics" section Click on "Errors" This page displays the lateFew readersHow to change PHP options on your hosting?
You can easily customize the PHP settings of your hosting for the specific needs of each domain or subdomain. These settings are stored in a file called php.ini. Using the tool included with your hosting, you can adjust variables such as: displayerrors: to enable or disable the display of PHP errors (useful for debugging), memorylimit: to set the maximum memory a script can use, uploadmaxfilesize: to adjust the maximum upload file size, maxexecutiontime: to set the maxiFew readersHow to change the PHP version of your hosting?
At Hodi, you have the freedom to choose the PHP version best suited to your projects, directly from your hosting. Each domain or subdomain can use a different PHP version, depending on your needs. The method differs depending on whether you are using crontab or the command line, or your website. Even officially deprecated versions remain available at Hodi thanks to a specific support contract, guaranteeing a high level of security: security patches on these older versions are applied manuallyFew readersHow to retrieve the visitor's country with MaxMind?
What is MaxMind? MaxMind is a company specializing in IP address geolocation ("GeoIP"). Using its databases, it is possible to reliably identify the country of origin of an Internet visitor based on their public IP address. At Hodi, you can use this technology to personalize the user experience (for example, adapting the language, currency, or offers based on the visitor's country), or for compliance purposes (for example, restricting access to content by country). How does it work on HoFew readers
Node.JS
How to fix the "Can't acquire lock for app" error?
If you encounter a Can't acquire lock for app error when trying to start your Node.JS application, the most likely cause is that a script you launched via Run NPM Script is still running. Unfortunately, you cannot stop it through the interface. You will need to connect via SSH, and view the running processes with the ps ax command:Few readersHow to create a "Hello World" application?
Why create a "Hello World" application? When your Node.js application won't start or displays errors, it can sometimes be difficult to tell whether the problem comes from your code or from the server configuration. A small Hello World application lets you quickly verify that the "Setup Node.js App" configuration on your Hodi hosting is correct. How to create a "Hello World" application? Log in to your hosting via cPanel. In the "Setup Node.js App" section, create a new applicFew readersHow to use Node.JS via SSH or the Terminal?
What is the difference between "Setup Node.JS App" and the ".bashrc" method? "Setup Node.JS App": This tool is only used to configure a Node.JS application accessible via the web (such as an API or an Express.js site). It automatically configures an environment and manages the web server execution. See the dedicated FAQ on this topic. ".bashrc" method: It gives you full control over Node.JS. You caFew readersWhat to do if a Node.JS application won't start?
If the Node.JS application does not start, it means that Phusion Passenger is unable to launch the application by hooking into the listen() function in your code. There can be two causes: Your application does not have a listen() call, which means it is not a Node.JS application Your application has multiple calls to listen() so Phusion Passenger does not know where to hook in. You will need to make some adjustments to help Phusion Passenger launch your application, see the officialFew readersHow to fix the "Out of memory: wasm memory" error?
If you encounter the following error RangeError: WebAssembly.instantiate(): Out of memory: wasm memory, this is related to a memory limitation in the cPanel terminal. We recommend running your command directly via SSH, which should resolve the issue as you will then have access to all the available memory on your server.Few readersHow to debug a Node.JS application?
The error page displayed in the web browser is, by default, quite basic. It is possible to enable a more advanced debugging mode in Phusion Passenger to display more detailed errors by adding the following lines to the .htaccess file at the root of the domain (and subdomain if applicable): PassengerAppEnv development PassengerFriendlyErrorPages onYou can also easily create a "Hello World" application to cheFew readersHow to deploy a Node.JS application?
What is the difference between "Setup Node.JS App" and the ".bashrc" method? "Setup Node.JS App": This tool is only used to configure a Node.JS application accessible via the web (such as an API or an Express.js site). It automatically configures an environment and manages the web server execution. ".bashrc" method: It gives you full control over Node.JS. You can run any Node.JS script, whether it is a cron job (https://support.hodi.host/en/article/how-to-add-a-scheduled-task-crFew readersHow to deploy a Next.JS application?
Next.js on Vercel vs Hodi: what are the differences? Vercel is the official platform created by the authors of Next.js. It offers "automatic" serverless deployment: you push your code to GitHub, and Vercel takes care of the rest (build, scaling, CDN, etc.). At Hodi, the model is different: you keep full control of your Node.js environment, hosted locally in a Hodi datacenter, with the ability to access files, logs, dependencies, and databases in a traditional way. Everything runs iFew readersHow to install n8n?
n8n is an open-source automation platform, comparable to Zapier or Make, but with full control over infrastructure and data privacy. It allows you to create visual workflows to automate tasks between different applications, databases, or APIs (e.g., triggering a webhook, transforming data, sending an email, etc.). n8n can run in desktop mode, Docker, or as a classic server installation. On a web hosting pFew readers
WordPress
What is the difference between WordPress Toolkit and WordPress Toolkit Deluxe?
WordPress Toolkit is an interface integrated into cPanel that allows you to easily install, configure, and manage WordPress sites. This interface is available in two versions: WP Toolkit: this version, included in our Minisite plan, provides essential tools to easily manage one or more WordPress sites; WP Toolkit Deluxe: this is a more comprehensive version, included in our Site Pro and VIP plans, for users seeking more advanced and automated management of their sites. WP ToolFew readersYou don't see the changes on your site?
For the sake of efficiency (learn more about our approach), we use a caching solution on our servers: NGINX. When you update your website, the update may take up to 1 hour to become visible, but you can, from cPanel, choose to clear the cache manually, or even temporarily disable it via the "NGINX Cache" section on the right side of your screen: (https://hodi.host/images/kb/18ScrFew readersHow to learn to use WordPress?
You want to create your WordPress site, but you don't know where to start? First of all, we recommend following our tutorial to easily install WordPress on our servers in just a few clicks. WP Marmite is an essential resource to guide you step by step through the installation and configuration of your site. WP Marmite notably offers a training course to help you get starteFew readersHow to install WordPress on your site?
Installing WordPress on your website may seem complex, especially if this is your first experience with this type of platform. Fortunately, our hosting plans include WordPress Toolkit which greatly simplifies this process. This auto-installation tool allows you to quickly launch your WordPress site in just a few steps. Log in to your cPanel On the left, click on "WordPress Management" Then click the "Install WordPrFew readersHow to migrate a WordPress from another server?
Migrating a WordPress site may seem intimidating, especially if you have never performed such a task before. Fortunately, the WP All In One Migration plugin greatly simplifies this process. Here is a step-by-step guide to help you migrate your WordPress site safely. Did you know? Migration is free of charge at Hodi when you place an order, so you have nothing to worry about: we take care of everything! Learn more (https://support.hodi.host/en/article/how-does-the-migratioFew readersHow to change your WordPress password?
If you have forgotten your WordPress password, you can easily reset it by following this procedure: Log in to your cPanel On the left, click on "WordPress Management" Then click the "Settings" button under the screenshot of your site: From this screen, you can change your WordPress password: (https://hodi.host/images/kb/135ScreenFew readersHow to duplicate your WordPress site for testing?
Duplicating a WordPress site is useful for several reasons: testing changes without affecting the production site, creating a development or staging site, or simply backing up a copy of the site before making major changes. This feature is available on hosting plans that include WordPress Toolkit Deluxe. Log in to your cPanel On the left, click on "WP Toolkit" Click on the "Clone" option: (https://hodi.host/Few readersHow to speed up your WordPress site with AccelerateWP?
We provide you with a tool, AccelerateWP, that allows you to speed up the display of your WordPress website. Unlike commercial plugins such as WP Fastest Cache, WP-Optimize, WP Rocket or others, AccelerateWP Standard is provided to you for free. A Premium version is available if you need even more performance, and a CDN is offered if you have a website reaching a global audience. Upgrade to AccelerateWP Premium (premiumFew readers
Softaculous: Application Installer
How to easily install an application on your server?
Installing an application on your server may seem complex, especially if this is your first experience with hosting. Fortunately, our hosting plans include Softaculous which greatly simplifies this process. This auto-installation tool allows you to install an application without having to use FTP or MySQL. You can also test the available software before installing them by going directly to the Softaculous website (https://www.softaculous.com/softaculoFew readersHow to easily update an application with Softaculous?
Softaculous allows you to easily update applications hosted on your server. Log in to your cPanel In the "Software" section, click on "Softaculous App Installer" Click on the "All Installations" icon in the top right corner: Click on the rotating arrows icon next to the version number (ifFew readersHow to duplicate your application for testing?
Duplicating an application hosted on your server is useful for several reasons: testing changes without affecting the production site, creating a development or staging site, or simply backing up a copy of the site before making major changes. This is possible thanks to Softaculous. Log in to your cPanel Create a new subdomain for your clone by following the tutorial " How to add a subdomainFew readersHow to import an existing application into Softaculous?
If you did not install your application with Softaculous but want to use it to update it or duplicate it, it is entirely possible. Log in to your cPanel In the "Software" section, clFew readers
How to configure your FTP client to upload your site?
To upload your site from your computer to our servers, you will need to use an FTP client, such as FileZilla. What username and password to use? By default, your hosting has an FTP account whose username and password are the same as your cPanel credentials found in your welcome email. These are not the username and password for your client area. If you have lost your cPanel username or password, click here to learn how to recoveFew readersHow to add a subdomain to your hosting?
You can create as many subdomains as you want on your hosting. Log in to your cPanel In the "Domains" section, choose "Domains" Click the "Create a new domain" button Enter the subdomain you wish to use: You can leave the directory indicated by cPanel, which you can access via FTP, or customize it if needed. Go further:Few readersBuild your showcase website with SiteJet Builder
Sitejet Builder is a visual editor, natively integrated into cPanel, that allows you to quickly design and publish websites. Hodi provides it at no additional cost, directly from your hosting space. This guide walks you through step by step, from logging in to going live, with a focus on eco-design. Prerequisites Access to your Hodi client area (credentials provided when you placed your order). A domain name already createdFew readersHow does the migration of my hosting to Hodi work?
At Hodi, we handle the entire migration process in a secure and supervised manner. Whether it's your website, your emails, or your domain name, our team takes care of everything: access analysis, data transfer, service configuration, testing... You are guided every step of the way to ensure a smooth transition without any service interruption. Did you know? With many hosting providers, a complete migration (site, emails, DNS, domain) is an additional paid service — sometimes costiFew readersHow to fix the mysqldump "Access denied; you need (at least one of) the PROCESS privilege(s)" error?
Why am I getting this message? When you run a backup with: mysqldump -u user -p DATABASENAME backup.sqlthis error will appear: mysqldump: Error: 'Access denied; you need (at least one of) the PROCESS privilege(s) for this operation' when trying to dump tablespaceThis is because mysqldump tries to export internal information (tablespaces) that require a special privilege (PROCESS) which is not granted to user accounts. How to fix this easily? Add the --no-tablespaces option to yourFew readersHow to deploy a Ruby application?
We allow you to deploy a Ruby application (also known as Ruby on Rails or RoR for short) directly on your hosting, without having to manage anything yourself. Technically, the deployment is based on Phusion Passenger. Log in to your cPanel In the "Software" section, choose "Setup Ruby App" Click on "Create Application" Fill in your application informFew readersWhat is "mod_pagespeed"?
To optimize performance and reduce digital footprint, we have configured automatic image conversion to WebP format on our servers. This format reduces file sizes without perceptible quality loss, thereby improving website loading speed and user experience, while reducing bandwidth consumption. This conversion uses "modpagespeed", an open-source module developed by Google for Apache and Nginx web servers. This module aims to optimize website performance and the structure of their resources throFew readersYour site displays an unexplained 406 "Not Acceptable" error
If you get a 406 error, the most common reason is that our web firewall (WAF) detected your request as potentially malicious and blocked it to protect your website. But don't worry, our technical support can modify the web firewall configuration upon your request. To facilitate processing, please include the following information in your request: your publFew readersHow to improve the security of your site with HTTP headers?
Website security is a critical concern. An effective way to strengthen your website's security is to use specific HTTP headers. These headers help protect against various attacks by informing the browser on how to handle certain requests. Here is an overview of the most important headers and how to implement them. It is important to check with your developer before implementing these headers as each site has specific requirements. List of headers Strict-Transport-Security (HSTS) ThFew readersWhat is Sitejet Builder?
1. What is Sitejet Builder? Sitejet Builder is an intuitive and powerful website builder that allows you to easily create and manage professional websites without programming skills. It offers a drag-and-drop interface, pre-designed templates, and many advanced features to customize your site. 2. Is Sitejet Builder included with my hosting? Yes, Sitejet Builder is included with our web hosting plans. You can access it directly from your Hodi client area, or from cPanel (/knowledgebasFew readersHow to access my site while waiting for the domain transfer?
When you have just subscribed to a web hosting plan with domain name transfer, it is normal that your domain name is not yet configured to point to your server, as it still points to your previous host. Additionally, our shared hosting plans use shared IP addresses among multiple users. This means that you cannot access your site by simply typing the server's IP address in your browser. But don't worry! Here are two methods to access your site before your domain name is transferred:Few readersHow to force my site to display in HTTPS?
We provide LetsEncrypt SSL certificates as standard, so you can force HTTP to HTTPS redirection. Before doing so, verify that your SSL certificate has been generated by visiting your site with https:// in front of its address. If you have an SSL certificate issue, you can refer to the article "How to force the regeneration of my SSL certificate?". Log in to your cPanel (https://support.hodiFew readersWhat are the best DynDNS providers?
Dynamic DNS (DynDNS) services allow you to associate a dynamic IP address with a domain name, even when that address changes regularly. They are particularly useful when you do not have a static IP, for example on a residential connection or certain business plans. Dynamic DNS also allows you to maintain stable access to your services (server, NAS, router, VPN, etc.) via a domain name, without having to manually update the IP address. This guide presents the best free and paid alternativesFew readersHow to reset the cPanel password?
If you have lost your cPanel password, don't worry, you can easily change it from your client area. First, remember that your cPanel password is not the same password as your client area password (unless you set the same password). Here are the steps to reset your password: Log in to your client area In the "My Account" menu, click on "My Services" Click on the relevant hosting: (https://hodi.host/images/kb/61Screenshot-2023-04-13-at-11.32.3Few readersHow to access your hosting via SSH?
If you are on the MINISITE plan, SSH access is not available. You will need to upgrade your plan to benefit from it. Warning: for security reasons, the SSH port at Hodi is not port 22 but port 22974. Username The username to use is your cPanel username which you can find in your client area under the "My Services" section: Click on the relevant hosting plan: (https:Few readersHow to deploy a Python application?
We allow you to deploy a Python application directly on your hosting, without having to manage anything yourself. Technically, the deployment is based on Phusion Passenger. Log in to your cPanel In the "Software" section, choose "Setup Python App" Click on "Create Application" Fill in your application information: (https://hodi.host/images/kb/56Few readersHow to cancel my plan?
At Hodi, we understand that your projects may change, so our plans are commitment-free :) If you wish to cancel your plan, you can do so directly from your client area: Log in to your client area In the "My Account" menu, choose "My Services" Click on "Web Hosting" on the line corresponding to the cPanel you wish to access On the left, under "Actions", click on "Request Cancellation": (https://hodi.host/images/kb/51ScreenshFew readersWhat to do when a malicious file is detected on your hosting?
Why did I receive this alert email? You received this email because cpGuard, our security tool integrated into your web hosting, detected a malicious file (virus, backdoor, hacked script, etc.) on your space. This does not necessarily mean your entire site is compromised, but that a suspicious file was detected and has been cleaned / removed by cpGuard for your security. Where can I see the list of detected files? Log in to your cPanel (https://support.hodi.host/en/article/how-to-Few readersHow to change your plan?
If you wish to change the billing cycle (monthly to annual or vice versa), simply make the request to our sales department. The next invoice issued will then correspond to the new billing cycle chosen. If you wish to change your plan, whether upgrading or downgrading, you can do so directly from your client area Log in to your client area In the "My Account" menu, choose "My Services" CFew readersHow to access cPanel?
There are several ways to access cPanel, depending on your situation. If you are not sure which case applies to you, the first access method is the most common: "Shared hosting and managed web hosting Via your client area". This is the one you can use by default. A specific access method is also available for participants in 24h by WebCup (see the last section of this page). Shared hosting and managed web hosting This is the general case for most clients. YoFew readersHow to reduce the usage of my disk space?
How to find large files on my server? Log in to your cPanel In the "Files" section, choose "Disk Usage" Wait a moment until "Loading" disappears — the duration depends on the number of files on your server Scroll down to "Sort directories by" and click on "Disk Usage" You will then see your directories, sorted by size, and you can click the chevron on the left for details about subdirectories *(theFew readersWhich SMTP server to use for my site?
Click here if you are looking for SMTP settings for your email client If you need to send emails from your website, you can use localhost or 127.0.0.1 on port 25 to send your emails, without authentication. If you are using PHP, you can also use the mail() function directly. In both cases, make sure the sender matches your domain name and actually existsFew readers