How to Deploy MODX on SiteGround?

8 minutes read

To deploy MODX on SiteGround, follow the steps below:

  1. Login to your SiteGround hosting account.
  2. Access the cPanel for your hosting account. This can usually be found in the "Hosting Services" section.
  3. Look for the "Files" section in cPanel and click on "File Manager."
  4. Inside the File Manager, navigate to the root directory of your website. This is typically the "public_html" folder.
  5. If you prefer to install MODX in a subdirectory, create a new folder by clicking on the "New Folder" button and enter a name for the folder. Otherwise, you can skip this step.
  6. Download the latest version of MODX from the official website (https://modx.com/download/). Ensure you download the appropriate version.
  7. Locate the downloaded file on your computer and extract the contents.
  8. Use an FTP client such as FileZilla to connect to your website. Enter the FTP login details provided by SiteGround to connect to the server.
  9. Once connected, navigate to the website's root directory or the subdirectory you created in step 5.
  10. Upload all of the extracted MODX files and folders to the server. Ensure you maintain the file structure to ensure proper functioning of MODX.
  11. After the files have finished uploading, go back to the cPanel File Manager and locate the "public_html" or the subdirectory you created.
  12. Find the file named "config.core.php" and right-click on it. Choose "Edit" to modify the file.
  13. Update the database connection details (database name, username, password, and host) in the "config.core.php" file with the ones provided by your SiteGround hosting account. Save the changes.
  14. Open your web browser and visit your website's URL. If you installed MODX in a subdirectory, append the subdirectory name to the URL.
  15. The MODX installation wizard should start automatically. Follow the on-screen instructions to complete the installation process.
  16. Once the installation is complete, you can log in to the MODX manager using the credentials you set during the installation.


Congratulations! You have successfully deployed MODX on SiteGround. You can now start building your website using the MODX content management system.

Best Cloud Hosting Services of 2024

1
DigitalOcean

Rating is 5 out of 5

DigitalOcean

2
AWS

Rating is 5 out of 5

AWS

3
Vultr

Rating is 4.9 out of 5

Vultr

4
Cloudways

Rating is 4.9 out of 5

Cloudways


How to manage media files in MODX on SiteGround?

To manage media files in MODX on SiteGround, you can follow these steps:

  1. Log in to your SiteGround hosting account.
  2. Navigate to the cPanel.
  3. Scroll down to the "Files" section and click on the "File Manager" icon.
  4. In the file manager, find the folder where you have installed MODX. This is typically the "public_html" or "www" folder.
  5. Click on the folder to expand it, and look for the "assets" folder.
  6. Inside the "assets" folder, you will find various sub-folders related to different types of media files. For example, the "images" folder contains all the uploaded images and the "files" folder contains other file types like PDFs or Word documents. You can browse through these folders to locate and manage your media files.
  7. You can perform various actions on the media files, such as uploading new files, deleting existing files, or reorganizing them into sub-folders.
  8. To upload a new media file, click on the "Upload" button in the file manager toolbar. Select the file from your computer and wait for it to be uploaded.
  9. To delete a media file, simply right-click on the file and select "Delete".
  10. To create sub-folders or move files into different folders, right-click on the desired folder and select "New Folder" or "Move" respectively.
  11. You can also rename files or folders by right-clicking on them and selecting "Rename".
  12. After making any changes, remember to clear your MODX cache to ensure that the changes are reflected on your website. You can do this by logging in to the MODX admin panel and navigating to the "System" menu. From there, choose "Cache" and click on the "Clear Cache" button.


By following these steps, you should be able to effectively manage your media files in MODX on SiteGround.


How to track website analytics using MODX on SiteGround?

To track website analytics using MODX on SiteGround, you can integrate Google Analytics into your MODX website. Here's how you can do it:

  1. Sign up for a Google Analytics account: Go to the Google Analytics website (https://analytics.google.com) and sign up for an account. Follow the instructions to set up your website property.
  2. Get the tracking code: Once you set up your website property in Google Analytics, you will get a tracking code snippet. This code needs to be added to your MODX website.
  3. Log in to your MODX Manager: Log in to your MODX Manager using your credentials.
  4. Install the Google Analytics Extra: In the MODX Manager, click on the "Extras" menu, and then click on "Installer." Use the search bar to find the "Google Analytics" extra and click on "Install." Follow the prompts to complete the installation.
  5. Configure the Google Analytics Extra: After installation, go to the "Extras" menu, and then click on "Google Analytics." Enter your Google Analytics tracking code in the appropriate field. You may have additional options to configure, such as excluding administrators or specific IP addresses from being tracked. Make any desired changes, and then click on "Save."
  6. Clear MODX cache: To ensure changes take effect, go to the "System" menu, and then click on "Clear Cache."
  7. Verify tracking: Open your website in a new browser window and browse through a few pages. Then, go back to your Google Analytics account and navigate to the "Real-Time" section. If the installation was successful, you should see yourself as a current visitor on your website.


Congratulations! You have successfully integrated Google Analytics into your MODX website on SiteGround. You can now track website analytics, such as page views, user behavior, and more, through your Google Analytics account.


How to download and install MODX on SiteGround?

To download and install MODX on SiteGround, follow these steps:

  1. Log in to your SiteGround account.
  2. In the cPanel dashboard, scroll down to the "Autoinstallers" section and click on the "Softaculous" icon.
  3. In the Softaculous Apps Installer page, click on the "CMS" tab in the top navigation bar.
  4. In the "CMS" tab, locate MODX in the list of available CMSs and click on it.
  5. Click the "Install" button to start the installation process.
  6. Now, you need to configure the installation. Choose the protocol (http:// or https://) and the domain name you want to install MODX on from the drop-down menus.
  7. Next, provide a directory where you want to install MODX. If you want it to be installed in the root directory of your domain (i.e., example.com), leave the "In Directory" field empty. Otherwise, enter the name of the directory (e.g., /modx) you want to create.
  8. You can also set the administrative email, site name, and description in the "Site Settings" section.
  9. Additionally, set the admin username, password, and language.
  10. For security reasons, make sure to choose a strong admin password.
  11. Scroll down to the "Choose Language" section and select the language in which you want to install MODX.
  12. Leave the remaining options as default or customize them according to your preferences.
  13. Click the "Install" button at the bottom of the page.
  14. Sit back and wait for the installation to complete. Once it's finished, you will see a confirmation message.
  15. You can now access your MODX website by visiting your domain or the domain subdirectory where you installed it.


That's it! You have successfully downloaded and installed MODX on SiteGround.

Twitter LinkedIn Telegram Whatsapp

Related Posts:

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...
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...
Launching Joomla on SiteGround is a relatively straightforward process. Here's a step-by-step guide on how to do it:First, sign up for an account on the SiteGround website and choose a hosting plan that suits your needs.Once you have signed up, you will re...