How to Publish MODX on Hostinger?

10 minutes read

To publish MODX on Hostinger, you need to follow a few steps. Here is a general guide on how to do it:

  1. Log in to your Hostinger account and access the control panel.
  2. Look for the "Website" section or "Hosting" option, which will allow you to manage your website files and settings.
  3. Next, you need to upload your MODX files to the server. You can do this by either using Hostinger's file manager or an FTP client like FileZilla. Make sure to upload all the necessary files and folders from your MODX installation.
  4. After uploading the files, you need to create a new MySQL database. Usually, there is a dedicated section in the control panel for managing databases. Follow the instructions to create a new database, noting down the database name, username, and password.
  5. Once the database is created, you need to connect your MODX installation to the database. Locate the MODX configuration file ( in the uploaded files and open it in a text editor.
  6. Look for the database configuration section in the config file. You need to update the database name, username, password, and other details to match the ones you just created. Save the changes and close the file.
  7. Now, open your website in a web browser, and you should see the MODX installation page. Follow the on-screen instructions to complete the installation process. During the setup, you will be prompted to provide a site name, administrator credentials, and other relevant details.
  8. Once the installation is complete, you can access your MODX website by entering the URL in the browser. You can also access the MODX manager by adding "/manager" to the URL.

That's it! You have successfully published MODX on Hostinger. You can now customize your website, install plugins, and create content using the MODX manager.

Best Cloud Hosting Services of 2024


Rating is 5 out of 5



Rating is 5 out of 5



Rating is 4.9 out of 5



Rating is 4.9 out of 5


How to add content to a resource in MODX on Hostinger?

To add content to a resource in MODX on Hostinger, follow these steps:

  1. Log in to your Hostinger account and navigate to the control panel.
  2. Find your website and click on the "Manage" button.
  3. In the dashboard, locate and click on the MODX icon.
  4. Once in the MODX dashboard, go to the "Elements" menu on the left-hand side and click on "Resources."
  5. Select the resource where you want to add content by clicking on it. You can browse the resource tree or use the search bar for easier navigation.
  6. In the selected resource, you will see various tabs. Click on the "Content" tab.
  7. You will find a rich text editor where you can add, edit, and format your content.
  8. Add your desired content using the provided tools for text formatting, inserting images, links, etc.
  9. Make sure to save your changes by clicking on the "Save" or "Save & Close" button at the top right corner of the editing window.
  10. Finally, visit your website's front-end to see the newly added content in the resource.

Remember to regularly save your changes and clear cache if necessary to ensure your website reflects the latest changes.

What is the recommended server configuration for running MODX on Hostinger?

When running MODX on Hostinger, the recommended server configuration is as follows:

  1. Web Server: Apache is recommended, but NGINX can also be used.
  2. PHP Version: MODX requires PHP version 7.2 or newer. Hostinger provides PHP 7.4 by default, which is compatible with MODX.
  3. Database: MODX supports either MySQL or MariaDB. Hostinger offers MySQL databases, which are suitable for hosting MODX.
  4. Memory Limit: MODX recommends a minimum PHP memory limit of 128MB. Hostinger allows you to customize the PHP memory_limit in the hosting control panel to meet this requirement.
  5. Disk Space: The amount of disk space required depends on the size of the MODX installation and the number of resources you will be managing.
  6. SSL Certificate: It is recommended to use SSL for security purposes. Hostinger provides free SSL certificates through Let's Encrypt, which can be enabled from the hosting control panel.

These server configurations should provide a suitable environment for hosting MODX on Hostinger.

What is a domain name and how to register one on Hostinger?

A domain name is the web address used to identify a particular website on the internet. It consists of two main parts: the name and the extension. For example, in the domain name "," "example" is the name and ".com" is the extension.

To register a domain name on Hostinger, follow these steps:

  1. Visit the Hostinger website ( and navigate to their domain registration page.
  2. Use the domain search feature to find a domain name available for registration.
  3. Enter your desired domain name in the search bar and select the domain extension of your choice (.com, .net, .org, etc.).
  4. Click on the "Search" button to check the availability of the domain.
  5. If the chosen domain name is available, proceed to the registration process by clicking on the "Add to Cart" button.
  6. Review your domain name selection and click on the "Checkout" button.
  7. Provide your personal details, including your name, address, email, and payment information.
  8. Select any additional services or features you would like to add to your domain registration, such as domain privacy protection or SSL certificates.
  9. Review your order summary and click on the "Checkout" button to proceed with the payment.
  10. Complete the payment process to finalize the domain registration.
  11. Once the registration process is complete, you will receive the domain name ownership and management details via email.

Remember that domain names are registered for a specific period, often ranging from one to ten years, and need to be renewed periodically to maintain ownership.

What is the MODX Manager API, and how to utilize it on Hostinger?

The MODX Manager API is an interface that allows developers to access and manipulate data within the MODX Manager, the backend administration panel of the MODX CMS (Content Management System). It provides a set of endpoints and methods that allow developers to automate tasks, programmatically manage resources, and extend the functionality of MODX.

To utilize the MODX Manager API on Hostinger, you can follow these steps:

  1. Install and set up MODX on your Hostinger hosting account.
  2. Log in to the MODX Manager using your admin credentials.
  3. Navigate to the "Extras" menu in the top navigation bar and click on "Installer".
  4. In the MODX Installer, click on "Download Extras" button.
  5. Search for "ManagerAPI" in the extras catalog and click on "Download" to install it.
  6. Once installed, go back to the MODX Manager and click on "Elements" in the top navigation bar, then select "ManagerAPI".
  7. In the ManagerAPI component, you can configure the settings and permissions for API usage.
  8. From there, you can start utilizing the MODX Manager API by making HTTP requests to the defined endpoints using a programming language or a tool like Postman.

Please note that the specific steps may vary depending on the version of MODX being used and the hosting environment on Hostinger.

What are chunks in MODX, and how to create them on Hostinger?

In MODX, chunks are reusable content snippets that can be edited and managed separately from the templates. They are commonly used for areas of a website that require dynamic content, such as headers, footers, sidebars, or any content that appears on multiple pages.

To create chunks on Hostinger, you would follow these steps:

  1. Log in to your Hostinger account and navigate to the hosting control panel.
  2. Go to the "File Manager" section and select the website's root directory.
  3. Locate the MODX installation folder, which is typically named "public_html" or "www".
  4. Open the folder and explore until you find the "core" folder.
  5. Inside the "core" folder, locate the "chunks" directory.
  6. Click on the "Create New File" button, and name the file with a ".chunk" extension (e.g., my_chunk.chunk).
  7. Once the file is created, right-click on it and select the "Edit" option to start customizing the chunk.
  8. Add the desired HTML or MODX tags to define the content of the chunk.
  9. Save the changes made to the file.

After creating the chunk, you can access it within the MODX manager to include it in templates or resources.

How to update MODX to the latest version on Hostinger?

To update MODX to the latest version on Hostinger, you can follow these steps:

  1. Login to your Hostinger account and go to the hosting manager.
  2. Navigate to the "File Manager" section.
  3. Locate your MODX installation directory. This is typically located inside the "public_html" or "www" folder.
  4. Select all the MODX files and folders, right-click, and choose "Compress" to create a backup. This step is necessary to ensure you have a copy of your existing installation in case anything goes wrong during the update process.
  5. Highlight the compressed backup file, right-click, and choose "Rename" to give it a distinctive name, such as "".
  6. Delete the "core" and "manager" folders from your MODX installation. This step will remove the existing MODX files but keep any additional files or customizations you may have made intact.
  7. Download the latest version of MODX from the official MODX website (
  8. Extract the downloaded ZIP file to your local computer.
  9. Access the extracted folder and locate the "core" and "manager" folders.
  10. Open the extracted "core" folder and upload all its contents to your MODX installation directory on Hostinger. Similarly, open the extracted "manager" folder and upload its contents to the "manager" folder in your MODX installation directory.
  11. Once the upload is complete, log in to your MODX Manager by accessing your website's domain followed by "/manager/". For example, ""
  12. MODX will automatically detect the updated files and prompt you to update the database. Click on the "Update database" button to proceed.
  13. Wait for the update process to complete. This may take a few minutes. Do not close the browser or interrupt the process.
  14. After the update is complete, you should see a confirmation message. Verify that everything is working as expected on your website.
  15. If you encounter any issues during the update or notice that something is not functioning correctly, you can restore your backup file by deleting the updated "core" and "manager" folders and then renaming the backup file to its original name.

Remember to always perform a backup of your website before proceeding with any major updates or changes to ensure you can restore it if needed.

Twitter LinkedIn Telegram Whatsapp

Related Posts:

MODX is a free, open-source content management system (CMS) that allows users to create, manage, and publish websites and web applications. It is highly flexible and customizable, making it suitable for various types of projects. When it comes to deploying MOD...
If you want to quickly deploy CakePHP on Hostinger, you can follow these steps:Create a Hostinger account: Visit Hostinger's website and sign up for a new account. Choose a suitable plan that meets your requirements. Access the control panel: After signing...
The tutorial "Deploy MODX on Cloudways" is a step-by-step guide that helps users to set up and launch a MODX website on the Cloudways platform. The tutorial emphasizes deploying MODX, a powerful content management system (CMS) to manage websites, and C...