Tag Archives: cPanel Hosting

How To Easily Install Mediawiki On Your Domain?

To manually install MediaWiki on your hosting, follow these steps:

Step-1 Download MediaWiki

Visit the official MediaWiki website and download the latest stable version of the software. After downloading, extract the .tar.gz or .zip file on your local computer to prepare it for uploading to your server.

Step-2 Upload MediaWiki to Your Server

Log in to your hosting account’s cPanel or an alternative control panel. From there, access the ‘Public HTML’ or sub-directory (wherever you want to install the wiki) on File Manager.

Alternatively, you may use an FTP client such as FileZilla to upload the extracted MediaWiki files to your server. Choose the directory where you want MediaWiki to be installed (such as the public_html folder if it will be on your main domain).

Step-3 Create a Database

In cPanel, locate the section labeled MySQL Databases or something similar. Create a new database, and remember the database name. Then, create a new MySQL user and assign it to the database with full privileges. Make sure to save the database name, username, and password for later use in the installation process. You may use ‘MySQL Wizard’ option on your cPanel.

Step-4 Run the MediaWiki Installer

Open a web browser and visit the URL where you uploaded the MediaWiki files, for example, yourdomain.com. This will lead you to the MediaWiki installation wizard. Select your preferred language and proceed by clicking Continue.

Step-5 Database Configuration

When you reach the database configuration page, enter the required details. Choose MySQL as the database type, provide the name of the database you created earlier, and input the username and password associated with it. Typically, the database host is localhost, but you should confirm this with your hosting provider.

Step-6 Configure Wiki Settings

At this stage, name your wiki, as this will be the title that appears on your site. You will also need to create an administrative account by specifying the admin username, password, and email. Adjust other settings like email notifications or file uploads as needed.

Step-7 Complete Installation

Once the installation finishes, you will be prompted to download the LocalSettings.php file. Upload this file back to the root directory of your MediaWiki installation, which is the same location where you uploaded the MediaWiki files earlier.

Step-8 Verify Installation

Finally, visit your site’s URL to check your newly installed MediaWiki. You can log in using the admin credentials that you created during the setup process, allowing you to start customizing your wiki by adding content, extensions, and themes.

    By following these steps, your MediaWiki installation will be fully functional and ready for use.

    Automatic Installation of Mediawiki

    Installing MediaWiki via Installatron on cPanel hosting is an easy process. Installatron is a popular auto-installer available in cPanel hosting, that simplifies the installation of web applications like MediaWiki and WordPress. Here’s a step-by-step guide to help you through the process.

    Step 1. Log in to cPanel

    Begin by logging into your cPanel account, To log into your Sangkrit account, visit System.Sangkrit.net and click the Sign In button in the top-right corner. From the dropdown, select Sign In again, then enter your email or username and password in the login fields.

    If you’ve enabled two-step verification, you’ll need to enter the code sent to your phone or email.

    Once signed in, you’ll be directed to your account dashboard where you can manage your domains and other services.

    Step 2. Access Installatron

    Once you’re logged into cPanel, scroll down to the Software or Web Applications section. Here, you’ll find Installatron, click its icon.

    Step 3. Search for MediaWiki

    In the Installatron dashboard, you’ll see a variety of applications that can be installed. Either search for MediaWiki in the search bar or scroll down until you find it listed under the Content Management section. Once you locate MediaWiki, click on it.

    Step 4. Start the Installation

    On the MediaWiki page in Installatron, click the Install this application button. This will open the installation configuration options.

    Step 5. Configure the Installation

    You will now be presented with several configuration options for your MediaWiki installation:

    • Domain: Choose the domain or subdomain where you want MediaWiki installed. You can select a subfolder if you want to install it at yourdomain.com/wiki, for example.
    • Version: Ensure the latest version of MediaWiki is selected.
    • Directory: If you want to install MediaWiki in a specific directory (e.g., yourdomain.com/wiki), enter the directory name here. If you leave it blank, MediaWiki will be installed on the root domain (e.g., yourdomain.com).
    • Administrator Username & Password: Set the username, password, and email address for the admin account of your MediaWiki site.
    • Website Title: Enter the name of your wiki.
    • Database Settings: You don’t need to worry about creating the database manually unless you prefer to do so, Installatron will handle this automatically.

    Step 6. Advanced Settings (Optional)

    If you want more control, you can expand the Advanced settings to configure things like automatic updates, backups, and language preferences. However, the default settings should work for most users.

    Step 7. Process the Installation

    After filling in the required details, click the Install button at the bottom of the page. Installatron will begin the installation process, which may take a few minutes.

    Step 8. Access Your MediaWiki Website

    Once the installation is complete, Installatron will provide a link to your new MediaWiki site, along with login details for the admin account. You can now visit your site and start customizing your wiki.

    This way, you can manage and update your MediaWiki installation easily through Installatron, including setting up automatic backups and updates.

    By following these steps, you’ll have MediaWiki installed and running on your cPanel hosting account in no time. Comment below if you need any additional help.

    How To Protect Your Website From Spam On cPanel Hosting & Server?

    Spam can be a significant nuisance for any website owner, clogging up email inboxes, and comment sections, and even posing security risks. Fortunately, cPanel hosting & servers offer several tools and features to help you protect your site from spam. Here’s a step-by-step guide on how to use cPanel to keep your site spam-free.

    Setting Up Email Spam Filters

    One of the primary sources of spam is email. cPanel provides powerful spam filtering tools to keep your inbox clean.

    Using SpamAssassin

    SpamAssassin is a widely used email spam filter that comes with cPanel.

    1. Log in to cPanel: Access your cPanel dashboard by entering your username and password.
    2. Navigate to Spam Filters: Look for the “Email” section and click on “Spam Filters” or “Apache SpamAssassin”.
    3. Enable Spam Filters: Turn on SpamAssassin if it’s not already enabled.
    4. Configure Settings:
      • Auto-Delete Spam: You can choose to delete emails marked as spam automatically. Be cautious with this setting to avoid losing legitimate emails.
      • Spam Score: Adjust the spam threshold score. Lower scores may catch more spam but can also flag legitimate emails.
    5. Create Spam Filters: Under “Additional Configurations”, create custom spam filters based on specific criteria such as keywords, sender addresses, and more.
    Email Filtering
    1. Navigate to Email Filters: In the “Email” section, click “Email Filters”.
    2. Select the Email Account: Choose the email account you want to filter.
    3. Create a New Filter: Click “Create a New Filter” and define the conditions and actions for the filter. For example, you can move emails containing specific words to a spam folder.

    Using BoxTrapper to Reduce Spam

    BoxTrapper is another cPanel tool that helps reduce spam by requiring all email senders to verify their identity.

    1. Navigate to BoxTrapper: In the “Email” section, click “BoxTrapper”.
    2. Select an Email Account: Choose the email account you want to protect with BoxTrapper.
    3. Enable BoxTrapper: Turn on BoxTrapper for the selected account.
    4. Configure BoxTrapper Settings: Customize the verification process, whitelist, blacklist, and ignore list to fine-tune how BoxTrapper handles incoming emails.

    Protecting Your Site from Comment Spam

    If your website has a blog or allows comments, protecting it from spam comments is crucial.

    Using cPanel’s ModSecurity

    ModSecurity is a web application firewall that helps protect your site from various threats, including spam.

    1. Navigate to ModSecurity: In the “Security” section, click “ModSecurity”.
    2. Enable ModSecurity: Turn on ModSecurity for your domain. This will help block spam bots and other malicious activities.
    Using a CAPTCHA

    Implementing a CAPTCHA on your comment forms can help prevent spam bots from submitting spam.

    1. Log in to your CMS: Access your website’s content management system such as WordPress.
    2. Install a CAPTCHA Plugin: Search for and install a CAPTCHA plugin. Popular options include reCAPTCHA and WPForms.
    3. Configure the CAPTCHA: Follow the plugin instructions to add CAPTCHA to your comment forms.

    Securing Contact Forms

    Spam bots often target contact forms to send spam messages.

    1. Install a Form Plugin: Use a reputable form plugin that offers spam protection features (e.g., WPForms, Contact Form 7).
    2. Enable Anti-Spam Features: Configure the plugin to use features like CAPTCHA, honeypot fields, or Akismet integration to filter out spam submissions.

    Implementing DNS Blackhole Lists (DNSBL)

    DNSBLs are used to block emails from known spam sources.

    1. Navigate to Email Filters: In the “Email” section, click “Email Filters”.
    2. Create a New Filter: Set up a filter that uses DNSBL to block emails from known spam IP addresses.

    Monitoring and Adjusting Settings

    Regularly monitor your spam filters and adjust the settings as needed. Check your spam and junk folders periodically to ensure legitimate emails are not being incorrectly flagged.

    By leveraging the tools and features available in cPanel, you can effectively protect your website from spam. Whether it’s filtering email, securing comment sections, or implementing CAPTCHA on forms, cPanel provides comprehensive solutions to keep your site spam-free. Regular monitoring and adjusting your settings will help maintain a clean and professional online presence.