Tag Archives: cPanel

How To Update Installatron Web Applications On Your Hosting Or Server?

The one-click website installer at Sangkrit.net makes it easy for you to build, enhance, and manage any kind of website on your own.

In previous lessons, you learned about installing new web apps on your domain to start any kind of website without any technical skills. Now, this lesson explains how you can upgrade installed applications to keep your website updated with new security releases, the latest features, and the current World Wide Web consortium.

Log in to your Sangkrit.net account, visit your products page, and follow these steps:

  1. Next, to the hosting account you want to use, click Manage
  2. Open the cPanel or control panel of the web hosting or server
  3. In the Software section, click Installatron Applications Installer
  4. Next, to the application you want to use, click (update)
  5. Scroll down, and then click Update

In case you are using Windows hosting then visit the products page and next to the hosting account you want to use, click Manage.

Now Go to the Applications tab, click Manage My Applications, and in the Name column for the application, you want to use, click Update Available. Finally, scroll down and then click the Update Now button.

Restoring Database Grants On WHM Server & cPanel

When a database user loses his access to configured databases, you may need to restore that user’s grants to the database using the restoregrants utility on WHM.

The first step you need to make is to access your command line and then use restore grants to restore the user’s database access:

/usr/local/cpanel/bin/restoregrants –cpuser=$cpuser –db={mysql, pg} –dbuser=$dbuser

/usr/local/cpanel/bin/restoregrants –cpuser=$cpuser –db={mysql, pg} –all

Where:

  • $cpuser – is the cPanel username that has lost access to databases.
  • {mysql, pg} –  is the type of database: mysql for MySQL or pg for PostgreSQL.
  • $dbuser – is a database user whose privileges you wish to restore. If you use –dbuser, the $dbuser variable will consist of the database user’s name. If you use –all, the script will restore grants for all of the database users that belong to the cPanel account.

How to update the user’s password to restore database access on cPanel?

In certain circumstances, the restoregrants script may fail to restore access to the database.

In such a case, either the cPanel or the WHM  account owner can reset the cPanel account’s password in order to restore grants by following the given steps.

For restoring grants from cPanel:

  1. Navigate to cPanel > Change Password.
  2. Select Allow MySQL password change.
  3. Change the password and click Change your password now.

Steps for server administrator i.e. the owner of the WHM account:

  1. Navigate to WHM > List Accounts.
  2. Click + next to the appropriate account.
  3. Select Sync MySQL password with the account password.
  4. Enter a new password into the Change Password box and click Change.

How To Login To SSH Server Without Password?

SSH key authentication is a secure method of logging into an SSH server without needing to enter a password. It relies on the use of a pair of cryptographic keys: a private key (kept secret) and a public key (shared with the server). This lesson guides you on how to set up SSH key authentication and login to the server without password.

Generate SSH Key Pair

First, you need to generate an SSH key pair if you don’t already have one. Open your terminal and run the following command to generate a new SSH key pair:bashCopy codessh-keygen -t rsa -b 2048 -f ~/.ssh/id_rsa

-t rsa: Specifies the type of key to create (RSA).-b 2048: Sets the key length to 2048 bits (you can use higher values for stronger security).

-f ~/.ssh/id_rsa: Specifies the file name for the generated key pair (the default location is ~/.ssh/id_rsa).

During key generation, you can choose to set a passphrase for added security, but it’s optional. A passphrase adds an extra layer of protection to your private key.

Copy the Public Key to the Server

Next, you need to copy your public key to the server you want to access via SSH. You can do this manually or by using the ssh-copy-id command.

Replace <username> and <hostname> with your server’s username and hostname:bashCopy codessh-copy-id <username>@<hostname>

If you prefer to do it manually, you can append the contents of your public key (~/.ssh/id_rsa.pub) to the ~/.ssh/authorized_keys file on the remote server:bashCopy codecat ~/.ssh/id_rsa.pub | ssh <username>@<hostname> 'mkdir -p ~/.ssh && cat >> ~/.ssh/authorized_keys'

Make sure the ~/.ssh directory on the remote server has proper permissions (usually 700), and the ~/.ssh/authorized_keys file should have permissions set to 600.

Test SSH Key Authentication

You can now test SSH key authentication by attempting to SSH into the remote server:bashCopy codessh <username>@<hostname> If you set a passphrase for your private key, you’ll be prompted to enter it. Otherwise, you should be logged in without being asked for a password.

Disabling Password Authentication

For enhanced security, it’s a good practice to disable password-based authentication once you’ve confirmed that SSH key authentication is working. You can do this by modifying the SSH server’s configuration (typically located in /etc/ssh/sshd_config).

Set PasswordAuthentication to no.Reload the SSH server: sudo service ssh reload or sudo systemctl reload ssh.This ensures that SSH access can only be obtained using the authorized SSH key.

SSH key authentication is a secure and convenient way to access remote servers, and it’s widely used for server administration and secure file transfers. Just remember to protect your private key and use passphrases for added security.

The lesson guides you on the Linux server environment. If you’re using Windows, you can use an SSH client like PuTTY or Windows Subsystem for Linux (WSL) to follow similar steps.

Creating New cPanel Hosting Accounts From WHM Of VPS & Dedicated Server

cPanel equips you with an easy interface to manage your domains and websites. The cPanel account at Sangkrit.net gives you access to a number of free applications to let you easily make different types of websites in a very short interval of time and that too without any technical skills.

But do you know you can also create separate cPanel hosting accounts on your Sangkrit.net VPS or Dedicated Server by using the WHM interface? Each cPanel account can have its primary domain and each can be given the privilege to host multiple domains. You can also set resource limits over new cPanel accounts. This includes disk space, bandwidth, email accounts, and more. You can either use the package defaults or customize these limits as per your requirements.

To create a new cPanel account you will need to set the following things:

  1. Domain: The domain name for the new cPanel account.
  2. Username: A username for the new account.
  3. Password: A strong password for the new account or you may also use the password generator.
  4. Email: An email address associated with the account.
  5. Package: The hosting package or resource allocation for the account. If needed, you can create custom packages in WHM.
  6. Settings: You may also configure any additional settings such as selecting a theme, enabling or disabling DNS clustering, and more.

Then simply follow these steps to create a new cPanel account:

  1. Login to your Sangkrit.net Account
  2. Click the Servers tab
  3. Click Manage button
  4. You will be directed to your server’s admin panel
  5. Click Account Functions or use the search box to find it
  6. Click Create a New Account
  7. Fill up the mandatory fields and click Create

Now the Web Host Manager will display you a results page outlining your new Account. Next, you will see Account Creation Complete!!! at the bottom of the screen. Simply repeat the steps to create more cPanel accounts.

The accounts you create are accessible from the Servers tab on your Sangkrit.net products page. Go back to step no. 1, and you will see all your cPanel accounts are listed there. The new account holders would be able to log in to cPanel with the provided username and password to manage their website, email, and other hosting-related services.

Resolving PHP Version Compatibility Issues On cPanel Hosting & Servers

PHP version is displayed on your cPanel’s account home page. An unsupported PHP version is one reason why your website goes down, and displays a blank white page or error 500. This could happen when your website doesn’t support the PHP version active on your hosting account.

In this lesson, you will learn about fixing such PHP compatibility issues on your website hosted at any Sangkrit.net plan such as cPanel WebhostingWebhosting PlusVPS, or Dedicated Server.

You may also check the documentation for the software you’re using such as WordPress, Joomla, Drupal, etc. to determine PHP compatibility requirements. Look for specific PHP versions or extensions that your software recommends or requires.

To fix PHP version compatibility issues on cPanel hosting, you need to ensure that your website’s PHP version is compatible with the scripts, themes, and plugins you are using. Once you are sure about the version your website requires, you can easily change the PHP version from your cPanel and make it compatible with your website or app.

How To Change PHP Version On cPanel?

Log in to your Sangkrit.net account and follow these steps:

  1. Navigate to the ‘My Products’
  2. Select the ‘Web Hosting’ option
  3. Next to the cPanel account you want to use, click Manage.
  4. Click cPanel Admin and then scroll to the Software section.
  5. Click Select PHP Version, this displays your current PHP version which can be changed from the drop-down.
  6. Click the “Set as current” or “Save” button to apply the selected PHP version.

You may have multiple PHP versions to choose from. If your software specifies a particular PHP version, choose that version. Otherwise, you can typically select the latest stable version.

If you encounter difficulties or errors that you cannot resolve yourself, simply reach out to the support team. They will assist you with all troubleshooting and configuration settings.

How To Use PHP-Fast CGI Process Manager On WHM & cPanel Servers?

PHP-FPM (FastCGI Process Manager) is a PHP undertaking that provides an alternative way to run PHP scripts on web servers. The cPanel webhosting VPS, and Dedicated Servers at Sangkrit.net gives you the option to use PHP-FPM on your websites.

It is programmed to improve the performance and efficiency of PHP execution, particularly in the context of serving web applications. In the traditional way of executing PHP scripts, such as the web server like Apache uses a separate process to handle each PHP request which sometimes leads to high memory consumption and inefficiencies, especially while handling multiple concurrent requests. PHP-FPM addresses these issues by managing PHP processes more efficiently.

It offers several benefits over traditional PHP execution:

  1. Performance: PHP-FPM is designed for better performance and resource utilization, making it particularly effective for high-traffic websites or applications.
  2. Resource Efficiency: PHP-FPM pools can be configured to allocate resources more effectively, reducing memory usage and improving server responsiveness.
  3. Process Management: PHP-FPM can manage PHP processes dynamically based on the number of incoming requests. It helps prevent server overload and ensures smooth operation during traffic spikes.
  4. Isolation: PHP-FPM pools isolate each website’s PHP processes, providing better security and stability.
  5. Customization: You can configure PHP-FPM settings, such as the number of child processes, to suit your website’s requirements.

How To Use PHP-FPM On cPanel?

The cPanel webhosting environment at Sangkrit.net gives you the option to enable and configure PHP-FPM for your websites. Here’s how you can do it:

  1. Log in to cPanel: Access your cPanel account using your login credentials.
  2. Find PHP Configuration: In the cPanel dashboard, look for the “MultiPHP Manager” or “Select PHP Version” option. This is where you can manage PHP settings for your domains.
  3. Select PHP-FPM: In the PHP version manager, you’ll see a list of your domains and the currently used PHP version. You can select “PHP-FPM” from the dropdown menu for the domains you want to enable it for.
  4. Configure PHP-FPM: Depending on the cPanel version and your hosting provider’s settings, you might have the option to configure PHP-FPM settings. This could include adjusting the number of child processes, the PHP-FPM version, and other options.
  5. Save Changes: After enabling PHP-FPM and making any necessary configurations, save your changes.
  6. Test: You can now test your website to ensure that PHP-FPM is working as expected. Observe the performance and resource usage.

Keep in mind that PHP-FPM configurations might vary based on the new updates, policies, and the cPanel version being used. So for any kind of online support or specific instructions on enabling and configuring PHP-FPM for your domains simply contact the support team.

Automating Tasks With Cron Jobs On cPanel Web Hosting & Server

Manually performing routine tasks can be time-consuming and prone to errors. This is where cron jobs come into play. A cron job is a scheduled task that allows you to automate various processes on your server. In this blog post, we’ll dive into the world of cron jobs and explore how you can harness their power within cPanel for a more streamlined and efficient website management experience.

Cron jobs are named after the “cron” daemon, a time-based job scheduler in Unix-like operating systems. They allow you to schedule tasks to run automatically at specified intervals, whether it’s daily, weekly, monthly, or even down to the minute.

In this lesson, you will learn about creating and managing Cron Jobs to automate tasks on your Sangkrit.net hosting options such as cPanel WebhostingWebhosting PlusVPS, or Dedicated Server.

The Advantage Of Using Cron Jobs

  1. Time Savings: Automating repetitive tasks frees up valuable time for more strategic endeavors.
  2. Consistency: Automated tasks are performed consistently, reducing the risk of human errors.
  3. Timely Updates: Cron jobs ensure that updates, backups, and maintenance tasks are executed on time.
  4. Enhanced Performance: Scheduled tasks can optimize your website’s performance and efficiency.
  5. Data Management: Cron jobs can help manage databases, clear temporary files, and perform routine maintenance.

Where You Can Use The Cron Jobs?

General tasks you can schedule with cron jobs:

  1. Scheduled Backups: Automate the backup of your website files and databases regularly.
  2. Content Updates: Schedule content updates, such as publishing new blog posts or articles.
  3. Security Scans: Set up cron jobs to run security scans and checks for vulnerabilities.
  4. Database Optimization: Automate database optimization to improve site performance.
  5. Clearing Cache: Schedule cron jobs to clear cache and temporary files to maintain site speed.

Other tasks done with cron jobs can be:

  1. Automated Tasks: Schedule regular backups of your website files and databases. You can clean up temporary files and cache to optimize website performance and also run security scans and checks for vulnerabilities.
  2. Content Management: Schedule the publishing of new blog posts or content updates. You can automate content archiving or removal.
  3. Database Maintenance: Optimize, repair, or back up databases. Schedule database backups to prevent data loss.
  4. Server Maintenance: Perform routine server maintenance tasks such as log rotation and automate software updates and patches.
  5. Email Campaigns: Schedule the sending of email campaigns to reach your audience effectively. You can also automate email list maintenance tasks.
  6. Data Synchronization: Set up cron jobs to synchronize data between different systems or databases.
  7. File Management: Automate tasks like moving, copying, or archiving files and directories. You can also schedule file cleanup to remove old or unnecessary files.
  8. Renewals & Expirations: Automate the renewal of SSL certificates before they expire.
  9. E-commerce Tasks: Automate inventory updates, product imports, and order processing.
  10. Regular Reporting: Generate and send regular reports to stakeholders.
  11. Server Monitoring: Run scripts that monitor server health and performance.
  12. Social Media Automation: Automate the posting of social media updates at specific times.
  13. Custom Scripts: Set up custom cron jobs to execute specific scripts or commands.

How To Create Cron Jobs On cPanel?

Creating cron jobs within cPanel is generally a five-step process. Simply log in to your Sangkrit.net account, visit the ‘My Products’ page, and open the cPanel of the hosting or server wherever you want to schedule a cron job. Next, follow the given steps:

  1. Access your cPanel dashboard through your hosting provider.
  2. Look for the “Cron Jobs” icon and click on it.
  3. Select the frequency at which you want the cron job to run – whether it’s once a day, once a week, etc.
  4. Enter the command that the cron job should execute. This can include shell commands, scripts, or URLs.
  5. Use advanced settings to fine-tune your cron job, such as email notifications upon completion.

You should always test your cron job commands before setting them up in production. While specifying file paths, use absolute paths to ensure accuracy. Apart from this, periodically review and update your cron jobs to adapt to changes.

Cron jobs are like your personal virtual assistants, handling routine tasks in the background while you focus on more critical aspects of your website. With cPanel’s user-friendly interface, creating and managing cron jobs becomes a breeze. By automating tasks that would otherwise require manual attention, you can enhance your website’s performance, improve efficiency, and ensure that your online presence is running smoothly around the clock.

The Difference Between cPanel & Plesk Web Hosting & Servers

cPanel and Plesk are two prevalent web hosting control panels that enable users to manage various aspects of their web hosting environment using an easy graphical user interface.

Each control panel has its own features, advantages, and considerations. Bot panels are user-friendly, and offer automatic application installation, SSL, and TLS configurations but still, there are some differences that are very important to know if you planning to buy a new web hosting option.

The Cost Differences

There are no big cost differences between cPanel and Plesk. Each control panels come with licensing costs that are paid by the hosting provider. Some web hosts may charge an additional fee for cPanel and Plesk but at Sangkrit.net, there is nothing like that, and the cost of both hosting plans are nearly the same.

The Server Compatibility

You don’t have to worry about it if you are hosting your website at Sangkrit.net as all its web hosting plans come with a pre-installed version of cPanel and Plesk, all you have to do is select the hosting option that you are willing to purchase. Elsewhere it is important to choose a control panel that is compatible with your server’s operating system i.e. Linux or Windows. cPanel works on Linux whereas Plesk is compatible with both operating systems but it is mainly popular on Windows Operating System.

The Programming Language Compatibility

While Plesk can often handle popular frameworks built with various programming languages (such as Django for Python), less commonly used or newer frameworks might not have built-in support. It might not immediately support programming languages that are very new or still in experimental stages, as it takes time for new languages to gain widespread adoption and integration. Plesk Windows hosting is perfect for those who use ASP.NET, ASP, or SQL Server.

On the other side, cPanel is not for ASP.NET and .NET technologies. For such languages, you would typically need a Windows-based hosting environment, which is commonly managed using the Plesk control panel or other Windows-specific control panels.

The Application Compatibility

If you’re using a custom or proprietary application or an application that uses proprietary programming language such as ASP or .NET or any language that is not widely recognized or used, cPanel won’t be offering any support for that. cPanel is primarily designed for Linux-based hosting environments and is not natively geared toward supporting Windows-specific technologies like ASP.NET. For ASP and .NET like languages, Windows Plesk is the perfect option.

Please note that the hosting can upgrade over time, so it’s advisable to check with the hosting plans at Sangkrit.net for the most up-to-date information on available technologies and control panel options for your specific needs.

The choice between cPanel and Plesk depends on your specific needs, preferences, and familiarity with each platform. It’s important to note that what may be considered “better” can vary based on individual requirements but you should also know that most programmers especially those who are the masters of prevalent web technologies prefer cPanel over Plesk i.e. Linux over Windows hosting. So finally, cPanel wins, and the system at Sangkrit.net also recommends cPanel-based hosting and servers.

How To Start Your Own Auctions Website?

The lesson guides you on how you can easily start up your own auction website at any Sangkrit.net web hosting option.

Auction means a public sale event where items, goods, or services are offered for bidding, and then are sold to the highest bidder. Auction Websites operate similarly to traditional auctions, but the bidding and transactions are conducted online rather than in a physical location.

These websites are programmed to provide an online platform where individuals or businesses can list items for sale and enable buyers to bid on those items. Auction websites provide an online platform for a wide range of items to be sold, including collectibles, antiques, electronics, fashion items, art, and more. They offer convenience for both buyers and sellers by enabling online transactions without the requirement for physical presence. Some popular examples of auction websites may include eBay, LiveAuctioneers, and PropertyRoom.

In this lesson, you will learn about starting your own auction website at any Sangkrit.net plan such as cPanel WebhostingPlesk Windows HostingWebhosting PlusVPS, or Dedicated Server.

You will be making Auction Website by installing the WeBid app via Installatron, the website automation system that lets you start any kind of website in minutes. But the first thing is to know about the WebBid app.

What Is WeBid App?

WeBid is a free and open-source web application that allows anyone to create and manage online auction websites. It provides a platform for individuals and businesses to set up their own auction sites, where users can simply bid on and win items listed by sellers.

Auction Website

The application easily installs on any hosting plan and is programmed to be user-friendly and customizable. Thus making it suitable for both beginners and masters.

Key features and characteristics of the WeBid web application include:

  1. Online Auction Management: WeBid allows users to list items for auction and set various parameters such as starting bids, reserve prices, auction durations, and bidding increments.
  2. Online Bidding System: Users can place bids on items listed in auctions. The highest bidder at the end of the auction wins the item.
  3. User Registration and Profiles: WeBid supports user registration, allowing bidders and sellers to create accounts and manage their profiles. Registered users can track their bidding history, won items, and more.
  4. Categories & Listings: Sellers can categorize their items to make them easier to find for potential buyers. The application supports various listing formats, including fixed-price listings and traditional auction-style listings.
  5. Highly Customizable: WeBid provides customization options through templates and themes. Users can choose from different templates or create their own to match the look and feel of their auction website.
  6. Payment Gateways: The application supports integration with payment gateways, enabling secure online payments for items won in auctions.
  7. Messaging System: WeBid includes a messaging system that allows communication between buyers and sellers. This can be particularly useful for questions about items or payment.
  8. Protection & Security Features: WeBid offers security features to protect user data and transactions. It includes CAPTCHA for spam prevention and encryption for secure communications.
  9. Multi-Language Support: WeBid supports multiple languages, making it suitable for creating auction websites that cater to a global audience.
  10. Administration Panel: The application includes an administration panel that allows site administrators to manage users, listings, categories, and other aspects of the auction site.
  11. Search and Filtering: WeBid provides search and filtering options to help users find specific items they are interested in bidding on.
  12. Community and Online Support: WeBid has a community of users and developers who contribute to its development and offer support. Users can access documentation, forums, and resources for assistance. Apart from that Sangkrit.net users can access round-the-clock privileged customer support from their account section.

It is particularly well-suited for individuals and businesses willing to create their own online auction platforms. It offers all the necessary tools to help you set up and manage your or anyone’s auction website with ease, whether for general merchandise, collectibles, unique items, or other categories. Users having no technical skills can also install and configure the WeBid app and get their auction sites up and running.

Installing WeBid On Your Sangkrit.net Hosting

Start by registering or transferring your domain name to Sangkrit.net and then subscribe to a hosting option such as cPanel WebhostingPlesk Windows HostingWebhosting PlusVPS, or Dedicated Server.

Now visit the ‘My Products’ page from the top right corner menu of your Sangkrit.net account and click ‘Setup’ next to the hosting option you like to use. This will start an online step-by-step process of connecting your domain name and configuring your hosting option so that you can use it.

Once, the hosting is set up, simply click ‘Manage’ and access the control panel of your web hosting. This is typically cPanel, Plesk, or a similar interface to which you have subscribed.

Look up ‘Installatron’, click to open it, and it will take you to the Application Browser page. Now simply follow these steps:

  1. Find WeBid On Applications Browser: Inside Installatron, you’ll see a list of available applications you can install. Search for “WeBid” in the search bar or locate it in the “E-commerce” or “Auctions” category.
  2. Start the Installation: Once you’ve found WeBid, click on it to start the installation process.
  3. Configure the Installation: You will be presented with installation options and configuration settings. Follow these general steps:
    • Choose Domain: Select the domain where you want to install WeBid.
    • Directory: Decide if you want WeBid to be installed in the root directory (e.g., http://yourdomain.com) or in a subdirectory (e.g., http://yourdomain.com/auction).
    • Admin Username and Password: Set the admin username and password for accessing the WeBid admin panel.
    • Site Name: Enter the name of your auction website.
    • Database Settings: Choose whether to create a new database or use an existing one. Provide a name for the database and set a username and password.
    • Language: Select the preferred language for your WeBid installation.
  4. Advanced Options (Optional): Depending on your requirements, you may have additional options to configure, such as backup settings, cron jobs, and more. You can leave these at their default settings if you’re unsure.
  5. Start The Installation Process: Click the “Install” button to initiate the installation process. Installatron will now install WeBid on your chosen domain. This process might take a minute or two.
  6. Installation Completes: After the successful completion of the installation process, you will see a confirmation message.
  7. Website Details: It will also give you details about accessing your newly installed WeBid website and its admin panel.
  8. Access Your WeBid Site: Use the provided URLs and credentials to access your new auction website and the admin panel.
  9. Congratulations! You’ve successfully installed WeBid using Installatron on your Sangkrit.net hosting option.

Now you can start customizing and setting up your auction website, adding items, and configuring the platform according to your preferences.

Alternative Method – WordPress Auctions

If you are a WordPress user and you think using WordPress for making your online auction website would be easier than using any new application then you can do it with WordPress. The “Ultimate WordPress Auction Plugin” is a powerful tool that can easily add auction functionality to your WordPress Website.

How To Create Auctions Website With WordPress?

Start by registering or transferring your domain name to Sangkrit.net and then subscribe to Managed WordPress or install WordPress on any other hosting option which you have chosen such as cPanel WebhostingPlesk Windows HostingWebhosting PlusVPS, or Dedicated Server.

Now simply follow these steps:

Login to the admin panel of your WordPress site and navigate to Plugins -> Add New page to search and install the “Ultimate WordPress Auction Plugin” plugin on your website.

After activation, you will find its new menu item added to your admin area dashboard. Click on it and configure the general settings, such as currency, time zone, and auction listing layout.

For creating a new auction, navigate to the auction plugin section and click on “Add New Auction” and fill in the important details such as:

  • Title & Description
  • Images of the item
  • Starting bid price
  • Bid Increments
  • Auction start and end dates
  • Auction type such as standard or reverse, etc

You would be able to view and manage all your auctions from the plugin’s dashboard as well as monitor bids and bidder information for each auction. The plugin enables you to extend or close auctions manually if required.

How Does WordPress Auctions Plugin Works?

The bidders can place bids on the items listed in auctions. The condition is that their bids should be higher than the current bid thus meeting the bid increment rules.

Aste Boetto, A Real Auction Website Created With This Plugin

As soon as the auction ends, the highest bidder wins. The admin person can communicate with the winning bidder through email and on the basis of setup, can arrange the payment and delivery.

Another important thing to keep in mind is that the users must be registered and logged in to participate in auctions. You may open the registration on your website by visiting your admin area dashboard Settings -> General page and selecting the option ‘Anyone can register’ or you may selectively invite the users for registration by visiting Users -> Add New page that enables you to add new users and invite users through email.

The specifics of using the “Ultimate WordPress Auction Plugin” might vary based on the plugin’s features, your theme, and your website’s setup. So always refer to the plugin’s documentation for more specific instructions. For a prompt response during any issues, you may also contact us using the following comment form.

How To Use The Automatic Website Building Platforms At Sangkrit.net Hosting Options?

In the previous lesson, you learned about Installatron, the website automation platform that lets you build most types of websites in minutes. Now this lesson explains to you how easily you can do that from you Sangkrit.net’s cPanel WebhostingPlesk Windows HostingWebhosting PlusVPS, or Dedicated Server.

Installatron, the one-click website application installer that automatically installs most types of website building platforms can be accessed on both Linux cPanel and Windows Plesk hosting environs at Sangkrit.net.

SANGKRIT.net Web Hosting Cloud Based Hosting Unlimited Bandwidth

To start using it, you must have one Sangkrit.net hosting option. Next, simply log in to your SANGKRIT.net Account, then visit ‘My Products’ page and open the cPanel of the account on which you want to create websites via Installatron.

Installatron is available in cPanel, Plesk, DirectAdmin, and other control panels too. Look for the Installatron icon or section in your control panel. Once you find that, click it and follow the given steps:

  1. Browse the Application Library: In Installatron, you’ll find a library of web applications available for installation. Browse the list of applications or use the search bar to find a specific application you want to install.
  2. Choose the Application: Select the application you wish to install. For example, if you want to install WordPress, click on the WordPress icon.
  3. Install the Application: You’ll be presented with a form to configure the installation settings. Customize options like the domain, directory, database settings, and administrative login credentials.
  4. Configure The Advanced Options (Optional): If you need more advanced settings, you can expand the “Show Advanced Options” section and configure specific options according to your preferences.
  5. Start the Installation: Once you’ve configured the settings, click on the “Install” or “Install Now” button to begin the installation process.
  6. Monitor the Installation: Installatron will initiate the installation process and display a progress bar. Once the installation is complete, you will receive a confirmation message with the application details and login credentials.
  7. Access and Manage Applications: After the installation is complete, you can access your newly installed application by going to the domain or directory you specified during the installation.
  8. For Managing Applications: Return to Installatron in your control panel to manage installed applications. From here, you can update applications, create backups, clone or restore applications, and view application details.
  9. Updating Applications: If you have not opted for automatic updates, you can check for application updates through Installatron. When updates are available, you can initiate the update process to keep your applications secure and up to date.
  10. Create Backups: It’s essential to create backups of your applications to protect against data loss. Use Installatron to create both automatic and manual backups and store them securely.
  11. Clone and Staging: This option is optional, if you want to test changes or create a staging environment, you can use Installatron to clone an existing application.

Installatron offers a wide range of web applications that users can easily install on their web hosting accounts without any technical skills. It simplifies the process of making and managing websites by making web applications accessible and manageable for users from zero to all technical levels.

Creating Git-Based Collaboration Repository On cPanel Hosting Or Server

Git is a distributed version control system (VCS) used for tracking changes in the source code during the software development process. It was created by Linus Torvalds in 2005 and has now become one of the most widely used version control system in software development field.

The advantage of Git is that it allows multiple developers to collaborate on a project by keeping track of changes, coordinating work, and providing a historical record of all modifications made to the codebase.

The Sangkrit.net’s cPanel WebhostingWebhosting PlusVPS, and Dedicated Server all offer you a feature called “Git™ Version Control”. This function simply enables you to set up and manage Git repositories for your website’s code. By Git integration in cPanel, website owners and developers can take advantage of version control functionalities directly from the cPanel interface, without the need to access the command line. So this lesson guides you on how you can easily create the Git Repository on your Sangkrit.net hosting option.

Login to your SANGKRIT.net Account, then visit ‘My Products’ page and open the cPanel of the account on which you want to create the Git repository.

  1. On your cPanel account, scroll down to Git Version Control present in the Files section.
  2. Click Create in the top-right corner of the interface and a new interface will appear.
  3. Select whether to clone an existing repository, create a new one, or add an existing one to the list of cPanel-managed repositories.
  4. To clone an existing repository, ensure that the Clone a Repository toggle is enabled. Then, enter the clone URL for the repository that you wish to clone in the Clone URL text box.
  5. To create a new repository or add an existing repository to the list of cPanel-managed repositories, set the Clone a Repository toggle to be disabled.
  6. In the Repository Path text box, enter the path to the directory that will contain the repository.
  7. In the Repository Name text box, enter the desired display name for the repository.
  8. To immediately create another repository, select the Create Another checkbox.
  9. Click Create, or click Return to Repository List to return to the list of repositories.

In the step number five, URL must include the http://https://ssh://, or git:// protocols or use the user@example.com/path format, where user represents the username, example.com represents the domain, and path represents the repository path. Another thing is, you cannot enter a local repository path.

In the step number six, a few important things for you to note down are:

  • If the directory specified doesn’t exist, the system will create it.
  • If the directory already has a repository, the system will add it to the list of cPanel-managed repositories.
  • The function enforces several restrictions on repository paths.
  • Unless you’re adding an existing repository to the list, the directory must be empty.
  • Subdomain directories have a cgi-bin directory and may also contain a .well-known directory. So you must move these before you can create a repository.

Another important thing to know is that if you have entered an SSH clone URL while clicking the Create option, the system will check for the remote server’s public SSH host key. It keeps this key in the /home/user/.ssh/known_hosts file, where user represents your username.

When the remote host is not registered with the system, you will have to click the Save and Continue option to register it to the file. You may optionally click Show Host Identification Information to view the host’s algorithm and SHA-256 and MD5 fingerprints. When the remote host is registered, the system creates the repository and at the time the remote host’s public key is changed, the system displays a warning.

Git has gained its popularity because of its flexibility, speed, and user support for the distributed workflows. It is a very useful tool for software development teams from small to big sizes. It has been commonly used with collaborative software and web development projects. It is also the foundation for many online code hosting systems, such as GitHub, GitLab, and Bitbucket, which provide cloud-based hosting for Git repositories for better collaboration among developers.

Easiest Way To Protect Your Website Resources From Hotlinks & Direct Links

Hotlinks, also called “hotlinking” or “direct linking,” lets a website to show images or other media that are hosted on another server without even uploading the content to its own server.

It is the practice of embedding or linking to media files such as images, videos, etc hosted on a website and linked by another website, without any permission of the owner.

These links use the resources of the website where these files are actually hosted because the hot links display the file without hosting it on their server so the resources of the main server are consumed whenever the webpage containing such files are viewed.

The only positive aspect of hotlink is easy sharing and the negative aspects are bandwidth theft and legal issues. To protect against hotlinking, website owners at Sangkrit.net may simply use hotlink protection on their cPanel WebhostingWebhosting PlusVPS, and Dedicated Server.

Login to your SANGKRIT.net Account, then visit ‘My Products’ page and open the cPanel of the account on which you want to enable the hotlink protection.

  1. On cPanel, scroll down to the ‘Hotlinks’ button and click it.
  2. Click ‘Enable’ and a new interface will open and display the Allowed referrers and Protected extension lists.
  3. Click Go Back.
  4. To allow specific sites to hotlink to your site, add their URLs in the URLs to allow access menu.
  5. To block direct access to files of specific types, add those file extensions to the Block direct access for the following extensions text box.
  6. For example, to block all .jpg images, add .jpg to the Block direct access for the following extensions text box.
  7. When you block these file types, others cannot hotlink to those types of files from your website regardless of any other settings.
  8. To allow visitors access to specific content through the URL, select the Allow direct requests checkbox. For example, if you enable this setting, a visitor could enter http://www.example.com/folder/example.jpg as a URL to access the example.jpg file.
  9. To redirect requests for certain content, enter the URL to which you want to redirect your visitor in the Redirect the request to the following URL text box.
  10. Click ‘Submit’.

You can anytime disable the hotlink protection by clicking the ‘Disable’ button. But as you click Disable, the system will delete the entries in the List of URLs. So it might be better for you to save the list locally before you disable hotlink protection.

Save Website Resources From Potential Misuse Of User Accounts & Unauthorized Access

Leeching occurs when a user of your website shares his login credentials either on a public website or with multiple users in his connection, as a result when multiple users start to access one account in the same timeframe it leads to excessive resource usage, bandwidth overage, security risks, and most importantly the actual risk is the potential misuse of premium memberships sold over the account.

Sangkrit.net cPanel Webhosting, Webhosting Plus, VPS, and Dedicated Server users can easily resolve this issue by enabling the leech protection that helps mitigate such matters by monitoring and limiting the number of IP addresses that can simultaneously access a particular account within a specific time frame.

What Happens When The Leech Protection Is Enabled?
  1. Blocks IP Address: When leech protection is enabled, cPanel tracks the number of IP addresses accessing a specific account within a specified time window.
  2. Exceeding Limit: If the number of IP addresses accessing the account exceeds the configured limit within the designated time frame, cPanel takes action to prevent further access from additional IP addresses.
  3. Blocking Action: Depending on the leech protection settings, cPanel can block access to the account from new IP addresses or redirect them to a specified URL, such as an error page or a page explaining the leech protection policy.
  4. Customization: cPanel allows website administrators to customize the leech protection settings, including the number of allowable IP addresses, the time window for monitoring, and the action taken when the limit is exceeded.
How To Enable Leech Protection On cPanel?

Login to your SANGKRIT.net Account, then visit ‘My Products’ page and open the cPanel of the account on which you want to enable the leech protection.

To enable leech protection for a directory, perform the following steps:

  1. Click Settings, and then select one option from the following:
    • Web Root (public_html or www) — Begin navigation in the document root for the account’s primary domain
    • Document Root — To select the domain that corresponds to the document root in which you wish to begin navigation
  2. Click the Save Changes button
  3. Navigate to the directory that you wish to protect and click the appropriate folder icon to navigate to a different folder
  4. Click the desired folder’s name to select it and a new interface will appear
  5. Enter the maximum number of logins that you wish to allow each user within a two-hour period or such
  6. Enter a URL to which you wish to redirect users who exceed the maximum number of logins within a two-hour period
  7. You may select the Send Email Alert To checkbox and enter the email address to get an alert when Leech Protection activates.
  8. For disabling any account that exceeds the maximum number of logins, simply select the Disable Compromised Accounts checkbox
  9. Click Enable and that’s it

For adding, editing, and deleting the users, you simply need to navigate to a directory that you wish to protect with user-level protection and then click Manage Users to navigate to cPanel’s Directory Privacy interface (cPanel -> Home -> Security -> Directory Privacy) of that folder.

You may disable the leech protection anytime by navigating to the directory where you want to disable it and then simply click the Disable button.

Leech protection helps you maintain the security and stability of your website by preventing excessive resource consumption and potential misuse of accounts. This protection is very useful for websites that are offering restricted content, paid content, membership option, or have any similar scenario where sharing the login credentials could lead to unauthorized access.

Link Multiple Servers Using Configuration Cluster On Your Dedicated Server

The Configuration Cluster is a server interface that enables you to link the master server to other additional servers. On your Dedicated Server, you can easily add a server to the configuration cluster by following these steps:

  1. Login to your server
  2. Click ‘Create’ at the top-right corner of the configuration cluster servers table
  3. Type the server name in the ‘Server’ text box
  4. Type the server’s root-level account username in the User text box
  5. Paste the server’s API token
  6. Alternatively, you can enter a remote access key in the API Token or in the Remote Access Key box

Remember, API token can be generated in the WHM’s Manage API Tokens interface. Simply navigate to WHM -> Home -> Development -> Manage API Tokens page.

If you own a Linux-based dedicated server at Sangkrit.net, you can simply copy the changes made to the master server to all other servers by navigating to WHM -> Home -> Server Configuration -> Update Preferences settings on the master server. This simply outs all changes to all servers on the cluster.

Generating Access Hash To Exchange DNS Records On Your Dedicated Server

Access Hash also known as Remote Access Key is used while configuring DNS that can exchange records between servers. this key is also used on automatic account creation scripts and running external software etc.

This lesson guides you on how you can generate a remote access key in your VPS or Dedicated Server.

To start, simply login to your SANGKRIT.net account and follow these steps:

  1. Visit your ‘My Products’ page
  2. Click ‘Servers’
  3. Next to your server, click ‘Manage’
  4. Visit WHM and search remote access key on the left-side menu
  5. Click Generate New Key
  6. The key will be generated

Now you can copy and paste the new access key to the applicable file or place it on the remote server(s) that require to transmit with your web server.

The Access Key Signature includes the first 32 characters of the remote access key, separated by colons (:). This signature can be used for quickly checking whether you used the correct access key on interfaces that display the key in a shortened format.

Lease Dedicated Servers For Yourself & Your Clients

There are a number of hosting options available for you to select as per your budget from Sangkrit.net. Each type of hosting has its own benefits and limitations but a dedicated server is built to deliver optimal performance to your business, and you are free to reconfigure it in the way you want.

Why You Should Lease Dedicated Servers For Yourself & Your Clients?

A dedicated server is like having your own house where you can set up everything in the way you want. You can lease a server and configure it to your or your client’s web applications such as WordPress, eCommerce, Gaming, Video Streaming, or anything else. There are self-managed, managed, and fully managed servers.

On managed servers, you get WHM i.e. web host manager and cPanel for easily managing your client’s websites and applications. Whereas on a fully managed server you also get a professional team to help you out with complicated tasks.

Your Target Audience

As a Sangkrit outlet, you can offer a dedicated server to any of your clients but big enterprise-level businesses are more suitable targets for you. By suggesting a dedicated server you are offering them complete isolation i.e. no sharing of resources and full power over their hosting option.

Every Linux-based managed dedicated server offers you

  • Dedicated IP address
  • Single-tenant infrastructure
  • Command line as well as World Host Manager & custom cPanels
  • Higher levels of security
  • DDoS protection
  • Backup options

Give Optimal Performace To Your Websites & Apps

A dedicated server is built to provide you with optimal performance. You get the advantage of full processing power with metal servers from a tenant having root privileges for establishing complete command on the server, reaching up to the kernel. You can change the configuration of the server, and install-uninstall software because you have all exclusive access to it.

How To Lease Dedicated Server?

Simply visit the dedicated server’s page at Sangkrit.net, select your server and click the ‘Configure Your Server’ button. Here you will be asked to select your options such as operating system, control panel, and support team.

Once you do that, simply click the ‘Checkout’ button and make the payment. That’s it, you will now see the server listed on the products page of your Sangkrit.net account.

How To Lock A Directory On Your Dedicated Server?

The directory privacy feature of WHM and cPanel of your dedicated server, VPS, or hosting allows you to secure any web directory from unauthorized access on the web.

You can lock a directory with a username and password so that anyone who attempts to open it must go through its login process. You can secure specific directories on your server. This feature simply modifies htaccess and htpasswd configurations to restrict access to those files on your websites.

To use the feature, simply login to the cPanel of your server and select a directory to manage:

  1. To select a directory, simply click the desired directory’s name
  2. To view and select subdirectories, simply click the parent directory’s name and select the desired subdirectory
  3. To configure the security settings for a directory or subdirectory, simply click the Edit option present under the Actions column
  4. To password protect the selected directory, select the password protect this directory checkbox
  5. Enter a display label for the directory in the enter a name for the protected directory text box
  6. Click the Save button and a confirmation message will appear
  7. Click Go Back to return to the directory’s configuration page

Note,

  • In step number four, to remove the password protection from a directory, simply deselect the Password protect this directory checkbox and save your changes
  • In step number five, This name only functions as a label for the directory. So do not confuse it with the directory’s main name

Next,

Once you have locked your directory by completing the above-given steps, you will need to create a user that can have access to that directory.

To create a user for a directory, your directory must have correct permissions. In case you cannot create a user, then change the directory’s permissions to 0700 using the file manager interface.

To create an authorized user:

  1. On the same page, enter the desired username in the Username text box
  2. Enter and confirm the new password in the appropriate text boxes
  3. Click Save and a confirmation message will appear
  4. Now click Go Back to return to the directory’s configuration page

Remember,

A protected directory’s subdirectories inherit their parent directory’s password protection. The lock icon indicates that Directory Privacy configurations already exist for that specific directory.

It does not protect the directories that users access via FTP, SFTP, Web Disk, and other similar services, or if any user accesses the files locally on the server. This is because when a user accesses secure directories on a server via these specified services, he already goes through the login process so the system doesn’t prompt him for another login.

In case you want to secure your directories and files locally on the server then use the file and folder permission option.

How To Add & Use Multiple Servers Via DNS Cluster Of WHM & cPanel?

While using more than one dedicated server, a DNS cluster allows you to add more servers via WHM so that your group of name servers can share records.

This enables you to physically separate the nameservers that handle the DNS requests from your cPanel and WHM dedicated servers. So that whenever a DNS change occurs on one of your main servers, it gets replicated immediately to all the other servers added in your DNS cluster.

To add the new server to the DNS cluster, simply login to your account and visit your server’s home to implement these changes:

  1. Visit WHM’s DNS Cluster interface via WHM -> Home -> Clusters -> DNS Cluster
  2. Click to Enable DNS Clustering
  3. Click the Change button
  4. Click Return to Cluster Status
  5. Select the server to add to the DNS cluster
  6. Add a new server to the cluster menu
  7. Click Configure
  8. In the Remote cPanel & WHM DNS host text box of the cPanel DNS Remote Configuration interface
  9. Enter the hostname or IP address of the nameserver to add to the cluster
  10. Enter the WHM username for the nameserver
  11. Enter the nameserver’s API token hash or remote access key in the Remote server access hash text box
  12. To automatically configure the DNS cluster on the remote server – Select Setup Reverse Trust Relationship
  13. To synchronize the new server with other nameservers simply select Synchronize Zones Immediately option
  14. To specify the server’s DNS role, select a setting from the DNS Role menu
  15. Click the Submit button

For deleting a server from DNS cluster:

  1. Visit to the DNS Cluster interface via WHM -> Home -> Clusters -> DNS Cluster
  2. In the Modify Cluster Status text box, select Disable DNS Clustering
  3. Click Change, then Click Return to Cluster Status
  4. Log in to the servers that remain in the cluster
  5. Navigate to the DNS Cluster interface via WHM -> Home -> Clusters -> DNS Cluster
  6. Locate the server that you wish to delete
  7. Click the x icon under the Actions heading

To make changes in your server in DNS cluster:

  1. Locate the server that you wish to edit
  2. For DNS changes – In the DNS Role menu, select a new role for the server
  3. Click the save icon to save your changes
  4. Next, to edit a server’s configuration settings
  5. Click the edit icon under the Actions heading
  6. The cPanel DNS Remote Configuration interface will appear
  7. Make your changes to the server’s settings
  8. Click the Submit button

How To Use SANGKRIT.net Business Mail Service On iPhone?

SANGKRIT.net offers you both cPanel Webmail that works from your hosting or dedicated server, as well as Business Class Email, an email service ideal for professional use.

Both types of email accounts can be accessed from your iPhone and iPad touch devices, you can use them just like other email services. The difference is they use your own domain name and all data remains secret and secure on your own server or the webspace you are subscribed to.

Additionally, they offer you more SMTP relays so that you can send more emails without getting banned. These relays can also be subscribed whenever you need more than the number provided to you by default.

To add email on your iPhone:

  1. Go to Settings > Accounts & Passwords and tap Add Account
  2. If you’re using iOS 10.3.3 or earlier, go to Settings > Mail > Accounts and tap Add Account
  3. Tap Other to add your account manually
  4. Enter your name, email address, password, and a description of your account
  5. Tap Next and then it will try to find your email settings automatically
  6. If Mail finds your email settings, tap Done
  7. Your account setup is complete now

In case if it fails to find your email settings, then enter those settings manually, follow these steps:

  1. Tap Next, given on the same screen
  2. Choose IMAP or POP for your new account.
  3. Enter the information for the Incoming and Outgoing Mail Server.
  4. Tap Save to finish

Remember –

In step number two, if you aren’t sure whether your account is IMAP or POP then you can easily find that.

If you are a cPanel user, simply use these settings:

  1. Username – Your email address
  2. Password – Your email account’s password
  3. Incoming Server – mail.[your domain name]
  4. Incoming Ports – IMAP — 143 POP — 110
  5. Outgoing Server – mail.[your domain name]
  6. SMTP (Outgoing) Port – 25 (587 or 80 also works)

Else, for Business Class Email service, use IMAP with the following hostnames:

  1. Use hostname as imap.secureserver.net for the incoming mail server
  2. Use hostname as smtpout.secureserver.net for the outgoing mail server

Finally, Tap Next. Your app will discover your email account.

The most important settings to configure any email on any device is the username, password, incoming server, outgoing server, account type i.e. IMAP or POP, the incoming port number, and the outgoing port number.

Many devices automatically fetch your account settings by using just your email address and password. In case if that doesn’t work for your device then by knowing the above-mentioned details you can easily set up your email account on any computer or mobile device.

How To Use New IP On Your Domain On Dedicated Server?

After subscribing to a new IP address you can add it to your domain on your dedicated server. Simply log in to your SANGKRIT.net account and follow these steps:

  1. Open the products page
  2. Select your server and click manage
  3. On your WHM home page i.e. the main page of your server
  4. Navigate to Add a New IP Address under IP Functions of the side menu
  5. Enter the new IP address and a subnet mask
  6. Click Submit to finish

Remember:

  • In step number five, if you don’t know which subnet mask is to be entered, just contact the online support team
  • In step number six, in case you make a mistake, you can delete the new address in the Show or Delete Current IP Addresses option

As you click the Submit button, the new IP address gets added. Now you can associate it with your cPanel hosting or other domain accounts on your server.

To change an existing site’s IP address to the new one you will need to follow these steps:

  1. Open the List Accounts page from the Account Information menu
  2. Select the domain account you want to change
  3. Click the “+” next to the domain name
  4. Click the Change IP Address button
  5. Select the IP you just added

That’s it. Once you have changed your website’s IP, the site will not be available to the old IP address, and it should also appear offline to the new IP address for sometime.

Configuring SFTP On Your Dedicated Server

SFTP (SSH File Transfer Protocol) is one secure file protocol used to manage, and transfer files over an encrypted transport connection. In comparison to the traditional FTP protocol, it offers all the functionality in a more secure and easier to configure way.

The lesson guides you on how to connect your cPanel account via SFTP (SSH File Transfer Protocol or Secure File Transfer Protocol).

SFTP clients generally require the following information to make a connection to the server. Open your SFTP client and configure it with the following information:

  1. Hostname — Your server’s hostname (for example, hostname.yourdomain.com)
  2. SSH port number — The port number on which sshd listens (for instance, 22)
  3. Security — Whether the client combines FTP and SFTP functionality
  4. Username — The SSH username that the client uses to connect to the server
  5. Password — The SSH user’s password
  6. Private Key — The SSH user’s private key

Lets Make This Easier For You,

  • In step number six, this is the absolute path to a private key on your local machine (for instance, c:\data\id_dsa)
  • In step number four, the username can be a valid cPanel account username or the root user
  • Remember, you cannot use your FTP account to connect via SFTP
  • SFTP is not just FTP over SSH. Instead, it is an entirely separate protocol
  • cPanel users can generate and download a private key via cPanel’s SSH Access interface via cPanel -> Home -> Security -> SSH Access
  • The root users can generate and download a private key via WHM’s Manage root’s SSH Keys interface on a dedicated server or VPS via WHM -> Home -> Security Center -> Manage root’s, SSH Keys

Sometimes, you may see a warning that the host of the server is unknown. To cut back on such situations in the future, accept the key and store it on your local machine.