Category Archives: System Engineering

How To Host Multiple Domains & Websites On VPS & Dedicated Server?

After you have subscribed to a dedicated server, the first thing you need to do is set it up for your main domain. Afterward, you can add multiple domains to your server or create other cPanel hosting accounts on your server to add domains.

For Hosting Multiple Domains From Server’s Admin Panel

This option lets you create different cPanel accounts for each of your domain names.

While creating any new cPanel account you can allow it to host multiple domains or simply keep it limited to only one domain. You can do this at your discretion by following these steps:

  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. Use the left-side search box to find the List Accounts page
  6. Click List Accounts
  7. Click Create a New Account button

It will present you with a form where you can type in your domain name and select options for the new cPanel account you are creating.

Finally, click the ‘Create’ button.

Follow the same steps for creating separate accounts for your domains.

For Hosting Multiple Domains On A cPanel Account

You can allow any cPanel account on your dedicated server to host multiple domains. This thing is done while creating new cPanel accounts (as we have done above) or you can edit any old account.

To edit any old cPanel account simply visit the ‘List Accounts’ page (as shown in step no. 6 above).

To host multiple domains on cPanel:

  1. Log in to Account Manager 
  2. Click the Servers tab
  3. Next to the cPanel account, which you want to use, click Launch

Next, on the cPanel home page:

  1. Scroll down to the Domains section
  2. Click ‘Addon Domains
  3. Type in the domain name
  4. Click the ‘Add Domain‘ button

Each domain added by you will have its directory where you can upload your website or install WordPress. The web directory of your domains can be accessed from your cPanel’s home page -> File Manager option, present in the Files section.

Make sure you update your domain name servers to make it point to your dedicated server.

How To Get Helped?

In case you need any kind of assistance in hosting your domain names on your dedicated server, simply comment below or use the Helpline number.

The Difference Between cPanel & WHM Hostings & Servers

Linux VPS or Dedicated Server provides you with WHM to manage your website hosting accounts. WHM allows you to host multiple websites on different domains but that’s what cPanel may also do. So what is the difference?

The difference is that WHM allows you to set up separate cPanel accounts for websites and not only this but you can assign a package to limit the resource usage of websites hosted on your server.

Now if you only have one single website to host on your server and you want to use all your resources on that specific website then you simply set cPanel without assigning any package to it.

WHM

WHM stands for Web Host Manager. It is the main control panel for setting up a server and not the websites on the server, but the server itself. Setting up a website is the second step which you do after creating new cPanel accounts from the WHM of your server.

The Differences Between WHM & cPanel

WebHost Manager, or WHM, provides administrative control of your dedicated or Virtual Private Server (VPS). You use WebHost Manager to create individual accounts, add domains to your server, manage hosting features, and perform basic system and control panel maintenance

The main features of WHM are:

  1. Server-Level Control Panel: WHM is designed for hosting providers and server administrators. It’s used to manage the server as a whole and to create and manage cPanel accounts for individual hosting clients.
  2. Server Management: WHM focuses on server-level tasks, such as server configuration, software installation, security settings, and resource allocation to individual cPanel accounts.
  3. Reseller Hosting: WHM allows for the creation of reseller hosting accounts. Resellers can use cPanel to create and manage their own hosting clients and accounts.
  4. Security: WHM offers server-level security settings and access controls for managing cPanel accounts, including the ability to enforce security policies for all hosted accounts.
  5. Resource Allocation: WHM lets administrators allocate resources like disk space, bandwidth, and other server resources to cPanel accounts.
  6. User Authentication: WHM is accessed by administrators using their own login credentials. It’s used to create and manage cPanel accounts, each with its own set of credentials.
  7. Typical Users: WHM is used by hosting providers, data center operators, and server administrators who manage multiple hosting clients or accounts.
cPanel

The cPanel is designed for managing particular domains or hosting accounts on your server. End users can control everything from adding/removing email accounts to administering MySQL databases etc.

The main features of cPanel are:

  1. End-User Control Panel: cPanel is designed for end-users, typically website owners, and administrators who manage their hosting accounts. It provides an easy-to-use graphical interface for various website and account management tasks.
  2. Website Management: cPanel is primarily used to manage individual websites and their associated settings, such as creating and managing email accounts, databases, file management, and domain settings.
  3. User-Level Features: cPanel offers features like website backups, email management, website statistics, domain management, and one-click application installations (e.g., WordPress).
  4. Security: While cPanel provides security features, it focuses on the security of individual hosting accounts and websites.
  5. Resource Usage: cPanel allows users to monitor and manage their resource usage, including bandwidth and storage.
  6. User Authentication: Users log in to cPanel with their credentials.
  7. Typical Users: cPanel is used by website owners, bloggers, small business owners, and anyone with a web hosting account.

cPanel is the end-user control panel used by individuals and businesses to manage their website and hosting account, while WHM is the server-level control panel used by hosting providers and server administrators to manage server resources, create and manage hosting accounts, and enforce security and resource allocation policies for multiple cPanel users. The two often work in tandem, with WHM allowing administrators to create and manage cPanel accounts for their clients.

How To Resell Hostings After Subscribing A Dedicated Server?

If you are a web developer looking forward to setting up your own reseller hosting then this lesson will guide you step-by-step in creating your own reseller account on a Dedicated Server or VPS of Sangkrit.net.

What is a Reseller Account?

A reseller account is a special account created from WHM of a Dedicated Server or VPS. It is a cPanel account with more privileges.

The system allows reseller accounts access to a limited version of the WHM interface, which allows them to manage the cPanel accounts that they sell.

A reseller can allocate system resources on individual cPanel hosting accounts and then sell them to his clients.

To start up with a reseller account, you must own a Dedicated Server or VPS. Read our lesson on configuring a server at Sangkrit.net to start with WHM and cPanel.

How To Manage Reseller Accounts?

You can manage reseller accounts using one of the following WHM user interfaces:

  • The Resellers section (Home -> Resellers) provides you access to all of the reseller features.
  • The Reseller Center interface (Home -> Resellers -> Reseller Center) allows you to add or remove reseller privileges and provides links to all of the other reseller features.

By default, the system grants a set of limited privileges to reseller accounts. But you can add more privileges to any reseller account using the Edit Reseller Nameservers and Privileges interface present in Home -> Resellers -> Edit Reseller Nameservers and Privileges section.

How Nameservers Are Configured On Dedicated Server & VPS?

Nameservers are used for masking IP addresses to domain names.

However, you can directly mask an IP address to different records of your domain name to make it functional. But doing a nameserver setup lets you enlist all domain records in your nameservers to use them on your domain (website & email, etc).

Configuring Nameservers On Dedicated Server (Via WHM):

  1. Log in to your Sangkrit.net account
  2. Open the Products page and click the Servers tab
  3. Click Launch (Next to the account, you want to use)
  4. Click Manage Server (WHM) 
  5. Click Proceed

Once, you are logged in to your server, follow these steps:

  1. Navigate to WHM’s Nameserver Selection interface via WHM -> Home -> Service Configuration -> Nameserver Selection
  2. Select the desired nameserver software
  3. Click Save

To configure your default nameservers:

  1. Navigate to WHM’s Basic WebHost Manager Setup interface via WHM -> Home -> Server Configuration -> Basic WebHost Manager Setup
  2. Enter the desired nameserver names in the text boxes
  3. Click Save

Remember, the name must prefix, a dot (.), and your domain. For instance: ns1.example.com and ns2.example.com.

Next, you will need to add the IP address to your nameservers:

  1. Navigate to WHM’s Add a New IP Address interface via WHM -> Home -> IP Functions -> Add a New IP Address
  2. Here you may either enter the main IP address or the IP address range (if you have one) in the New IP or IP range to add a text box
  3. Enter the subnet mask in the Select a subnet mask for the IP or IPs above to use the text box
  4. Enter any IP addresses that you wish to exclude in the IPs and IP ranges to exclude from the range of new IPs text box
  5. Click Submit

Creating A or AAAA entries on your nameservers:

  1. Access WHM’s Basic WebHost Manager Setup interface via WHM -> Home -> Server Configuration -> Basic WebHost Manager Setup
  2. In the Nameservers text box, click Configure Address Records
  3. Update the IP addresses in the appropriate text boxes
  4. Click Configure Address Records
  5. Click Close

Repeat the same steps for each of your nameservers.

For creating entries of your hostname:

  1. Again, move to WHM’s Add an A Entry for Your Hostname interface via WHM -> Home -> DNS Functions -> Add an A Entry for Your Hostname
  2. Enter your server’s IP address in the text box
  3. Click Add Entry

Next, you will need to register the same nameservers on your Sangkrit.net account from your domain management section. You will need to change the nameservers of your domain to use these new domain nameservers.

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

  1. Visit your products page, in the Domains heading, click Manage
  2. Locate the domain for which you wish to set up your nameservers
  3. Click the settings icon and select Manage DNS.
  4. Click the Settings tab and click Manage under the Host Names setting
  5. Click Add Hostname and enter the primary nameserver’s name (for example, ns1)
  6. Enter the primary nameserver’s IP address in the IP Address text box and click Add.
  7. Now, repeat the same steps for your secondary nameserver, this time use another nameserver such as ns2
  8. Click Save. Then, click Edit Nameservers and select Custom option
  9. Enter the full names of your two nameservers. (For instance: ns1.example.com and ns2.example.com)
  10. Click OK and then Save your changes

That’s it. The DNS propagation takes some time to spread the domain’s new DNS records across the internet. So, allow it twenty-four hours and your settings will start to work.

How To Configure Reverse DNS On Your WHM Server?

DNS i.e., the Domain Name Server also known as Domain Name System is the hierarchical and decentralized system of identifying systems reachable through the Internet Protocol networks.

It works by looking up your website by finding its domain name and then locating its associated IP address. Whereas, the reverse DNS first looks up for an IP address and then locates the associated domain name.

The reverse DNS is actually a process that involves the conversion of an IP address back into a domain name. While the traditional DNS translates domain names (like – example.com) into IP addresses (like 132.0.3.1), reverse DNS does the opposite – it translates IP addresses into domain names.

The Reverse DNS is mainly used for:

  1. Email Servers: Reverse DNS is commonly used by email servers to verify the legitimacy of incoming emails. Many email servers check if the reverse DNS entry of the IP address sending the email matches the domain from which the email claims to be sent. This helps in preventing spam and identifying potential sources of malicious or fraudulent emails.
  2. Network Troubleshooting: Network administrators use reverse DNS to understand the domain names associated with specific IP addresses. This can aid in troubleshooting network issues, identifying the source of network problems, or verifying the ownership of particular IP addresses.
  3. Security: Reverse DNS can provide additional information about the server sending traffic to your network. It’s used in security measures to analyze and filter incoming traffic based on the domain names associated with the IP addresses. This can be helpful in identifying and blocking potentially harmful or unauthorized access attempts.
  4. Logging and Analytics: Some systems and applications use reverse DNS to log the domain names of incoming connections, providing more meaningful information in logs and analytics.
  5. Online Reputation: Some online services use reverse DNS as a factor in determining the reputation of an IP address. A well-configured reverse DNS entry can contribute positively to an IP address’s reputation, while a lack of reverse DNS or misconfigured entries might affect it negatively.

Setting up reverse DNS involves creating a PTR (Pointer) record in the DNS zone files, and linking an IP address to a domain name. This PTR record helps establish a connection between the IP address and the domain name it represents.

It’s important to note that the accuracy and presence of reverse DNS entries can vary. Some organizations maintain proper reverse DNS entries for their IP addresses, while others might not. Additionally, the process of setting up and managing reverse DNS might involve coordination with the hosting provider or internet service provider.

But at Sangkrit.net you don’t have to worry about that, you can easily setup the reverse DNS by following a few easy steps, and the round-the-clock online support is also available to help you in case you feel stuck anywhere.

How To Setup Reverse DNS?

At Sangkrit.net, you can easily set up a reverse DNS (RDNS) lookup for your 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. Enter the domain name you want to be associated with the server IP address, in the DNS record field
  5. Now click Update

The system will start an automated process of completing the reverse DNS setup. This can take up to 48 hours for the changes to propagate to your server.

If you have multiple IP addresses on your server, repeat the process for each IP address you want to set up Reverse DNS for.

Now the traditional process of setting up reverse DNS is a little bit different, you may follow that also:

  1. Log in to WHM: Access your WHM control panel using your administrator credentials.
  2. Navigate to “DNS Functions”: In WHM, search for or locate the “DNS Functions” section. This is where you’ll manage DNS-related settings.
  3. Edit DNS Zone: Under “DNS Functions,” click on “Edit DNS Zone.” This will allow you to modify the DNS zone files for the domain.
  4. Select IP Address: Choose the IP address for which you want to set up Reverse DNS (PTR record). Click “Edit.”
  5. Add PTR Record: In the DNS zone editor, you’ll see the existing DNS records. To add a PTR record, scroll down to the “Add New Entries Below this Line” section.
  6. Enter PTR Record Details: Fill in the following information to create the PTR record: Name: Enter the last segment of the IP address in reverse, followed by “in-addr.arpa.” For example, if the IP is 192.0.2.1, the name would be “1.2.0.192.in-addr.arpa.” TTL: Set the Time to Live for the record.
  7. Save Changes: Once you’ve entered the PTR record details, click the “Save” or “Save Zone File” button to save the changes.
  8. Update DNS Zone: After saving the changes, WHM will update the DNS zone file with the new PTR record.
  9. Verify PTR Record: You can verify the PTR record by using the “dig” command in the terminal or through online DNS lookup tools. It might take some time for the DNS changes to propagate across the internet.

You should also know that, when you run your own email server, and configure DNS to point to your domain name, there are some servers that are going to reject emails from IP addresses when not having an rDNS. The reverse DNS also helps when you need to troubleshoot your network while running a traceroute etc.

Reverse DNS is a useful mechanism that adds an extra layer of information and security to online communication and networking processes.

How To Backup And Restore Your Website On cPanel Hosting Or Server?

cPanel provides you with powerful website backup and restore options with which you can back up your complete website, get backup notifications, and then easily restore your website whenever needed. There are two backup options in cPanel: Full Backup and Partial Backup.

Full backup creates an archive of all website files and configurations set on your website. This can be used for moving your account from hosting to a dedicated server or VPS or to keep a local copy of your website files.

Full backups cannot be restored through your cPanel interface. Hence, to restore full backups you have to manually upload files and import the MySQL database.

cPanel of Sangkrit.net provides you with all video tutorials and you can easily view them right from the home screen of your cPanel.

Partial backup is another feature that allows you to back up your website but here you can select what you want to backup. You can separately backup and download your Home Directory, MySQL Databases, Email Forwarders, and filters.

Backups can be downloaded or restored from the ‘Backups’ page, you can access it from the Files section of your cPanel.  It allows you to download backups to your computer as a zipped copy of either your entire site including your home directory, databases, email forwarders configuration, and email filters configuration, or one of the previously mentioned parts of your site.

How To Backup Your Website?

Login to your Sangkrit.net account and launch your web hosting cPanel.

My Account

Enter the username & password and log in to your cPanel.

cPanel Login

Click ‘Backup Wizard’ from the ‘Files’ section.

Backup Wizard

It presents you with backup and restore options. (The restore option allows you to restore your website files or database from earlier generated backup files.).

Restore & Backup Page

Again it presents you with two options: Full Backup and partial site backups.

Full backups create an archive file containing files and configurations of your website. Whereas partial backup allows you to separately create and download backups of website files, databases email forwarder filters, etc. The good thing about partial backups is that cPanel provides a quick direct feature for restoring partial backups.

cPanel Full & Partial Backup Options

Select a backup option, wait for some time and it will provide you download links for your backup files.

cPanel Partial Backup

If you have selected full backup then you may also enable email notification (on the full backup screen) and the system will send you an email upon completion of your website backup.

cPanel Full Backup

It’s not necessary to download backup files at the same time. All backups are saved in your server and can be accessed from the backups page of your cPanel’s ‘Files’ section.

You can manage/download backups anytime by visiting cPanel and clicking the ‘Backups’ icon. It provides you with options for downloading saved backups. Also, you can generate or restore backups from there itself.

How To Restore a Backup?

As we have already said cPanel provides you the built-in option for restoring backup files (generated manually or via cPanel’s Partial Backup option) for the home directory, MySQL databases, and Email Forwarders and filters.

From your cPanel home, Click ‘Backup Wizard’ under the ‘Files’ section

Backup Wizard

Select the restore option, it allows you to restore your website files or database from earlier generated partial backup files.

Restore & Backup Page

You can select what to restore like your Home Directory, MySQL Databases, Email Forwarders, and filters.

cPanel Restore Wizard

For Example: Suppose you want to restore your MySQL database from its downloaded backup file on your computer’s hard disk.

cPanel Backup Browse & Upload

Simply click ‘MySQL Databases’ and use the ‘Browse’ and ‘Upload’ buttons to restore the backup back to your server.

Transferring Your Websites Between Hostings On Your Server

The manual transfer requires you to download files as well as the database and then upload them to your new server. But there is another method on dedicated servers that allows you to copy your account directly from your previous cPanel host.

What You Will Need?

To start you will need your server address (IP or FQDN) which you can either find yourself or get from your service provider. Second, you are going to need the username and password of your cPanel account.

How To Start?

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

  1. Open the Products page and click the Servers tab
  2. Click Launch (Next to the account, you want to use)
  3. Click Manage Server (WHM) (visible next to cPanel Site)
  4. Click Proceed

On your WHM panel use the left side navigation search box to find the page ‘Copy an Account From Another Server With an Account Password’. On this page, you will see fields for the Server to copy from, username, and password.

On the ‘Server to Copy’ field enter the IP address of your remote server. Next, fill in the username and password then press the ‘Copy Account’ button.

In case you have an additional IP address assigned to your server. You can also select the ‘Give new account an IP address’ option to get the available IP address automatically assigned to your new account.

How Does It Work?

The server will try to connect to the remote cPanel server and copy the specified account.

It is going to check the remote server every minute till the backup is completed. So at the time the copy process goes do not close your web-browser tab.

How Much Time Does It Take?

The time it takes depends on the size of your account on the remote server and once the account is successfully copied you will see the account restored message.

How To See Your Newly Transferred & Restored Account?

Once you see the account restored message at the bottom of the page. Use the top-left search box to type ‘list’, then click on the ‘List Accounts’ option. You should now see the copied account on your server.

How To Make It Work?

Once you have made sure that your old account has been copied to your new server at SANGKRIT.net. You will need to update your domain’s name servers to make your domain point to this new location.

In case you need any kind of assistance in transferring your website, simply contact the support of SANGKRIT.net via the Support Page or Helpline numbers.

Fixing The Disabled Admin Root Access On Your Server

When a user has root access, they have the highest level of privileges on the system. This means they can perform tasks that can affect the entire system, such as modifying system configuration files, installing or uninstalling software, and managing user accounts.

On your VPS or Dedicated Server, for security reasons, your dedicated server is provisioned with disabled admin/root access. But you can enable it by following these steps:

  1. Login to your Sangkrit.net account
  2. ​​Navigate to your My Products page
  3. Click Servers
  4. Next to the Generation 4 server, click Manage
  5. Select Settings from the top of the page in your account dashboard
  6. In the access section, next to the admin access, click Manage
  7. Select Enable Admin Access (this is actually root account sudo access) 
  8. Now click Save
  9. Admin access is now enabled

Next, Establish a connection:

Launch your SSH client, enter the host i.e. your domain name or IP address, and your SSH port number (which by default is 22) to establish the SSH connection.

Now you will be asked to enter the FTP details. As prompted for that, enter your primary FTP username and password and click GO or whatever action button is there in your client. That’s it. Your client will now make a connection.

The Instant Dynamic Caching System Of Sangkrit.net Hosting & Servers

Now every server owner at Sangkrit.net can easily accelerate his websites by caching both static and dynamic content and reducing the load on his servers.

How Dynamic Caching Works?

Dynamic caching works by temporarily storing the dynamically generated content in a cache. When a user requests a particular piece of content, the web server first checks if a cached version of that content is available. If it is, the server serves the cached content, which is faster than generating it from scratch. If not, the server dynamically generates the content, serves it to the user, and caches it for future requests.

How To Enable Dynamic Caching On Your Server?

After you buy any Linux-based VPS or Dedicated Server, you can enable caching for yourself and also your clients by providing a caching button on every hosting account you make on your server. You and your users may use this button to turn on catching, simply follow these steps:

  1. Login to your Sangkrit.net account
  2. Visit your ‘My Products’ page
  3. Click the ‘Servers’ option
  4. Next to ‘Server Actions’ click ‘Launch WHM’
  5. Open ‘Nginx Manager’ from the software section menu on the left
  6. Enable the caching

The page allows you to enable the caching on any or all hosting accounts running on your server You can also enable cache by default for all hosting accounts or click the ‘User Settings’ tab to enable NGINX caching selectively on accounts. It also provides you the option to selectively or collectively delete your server’s cache.

Nginx Cache i.e. “HTTP Caching” Or “Proxy Caching

Nginx cache, often referred to as “HTTP caching” or “proxy caching,” is a powerful feature that allows you to temporarily store and serve web content more efficiently. It is designed to reduce the load on web servers, decrease page load times, and improve the overall performance and user experience.

Every cPanel user account created by you on your VPS or Dedicated Server also gives an option to enable caching over the websites running on the same server but have different hosting accounts.

You can turn on, turn off, or delete the cache on any website simply from the server’s main page on your Sangkrit.net account.

How To Use The Resources Of Multiple Servers Together?

The Configuration Cluster is a server interface that enables you to link the master server to other additional servers. In the context of cPanel and WHM hosting, a “Configuration Cluster” or “Server Configuration Cluster” typically works as a feature that allows multiple cPanel & WHM servers to work together as part of a cluster.

It provides redundancy, which helps ensure that if one server in the cluster fails, another can take over, minimizing service disruption. Clustering can be used for load-balancing web traffic. It distributes incoming web requests across multiple servers, preventing any single server from becoming overwhelmed with traffic.

This clustering is often used to distribute the load, improve redundancy, and enhance the scalability of a hosting infrastructure. cPanel provides a feature known as “Server Clusters” to facilitate this.

On your VPS or Dedicated Server, you can easily add more servers to the configuration cluster by following these steps:

  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 the DNS cluster:

  1. Visit 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 the 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

Remember that the API tokens 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 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.

Another feature called DNS clustering allows multiple cPanel & WHM servers to synchronize their DNS zone data. When a change is made to a DNS record on one server, it is automatically replicated to the other servers in the cluster. This provides redundancy and load balancing for DNS requests.

cPanel & WHM allows you to set up specialized DNS-only servers that manage DNS records for your websites. These servers work in conjunction with your primary cPanel & WHM servers to handle DNS queries, improving performance and reliability.

Starting Your Own Customer Relationship Management System (CRM) On Your Domain At Sangkrit.net

CRM, also known as a customer relationship management system is a type of software that can be installed on your domain to keep track of all records, sales, statistics, and tasks assigned to your people.

It also provides you with a planner, and event manager to keep a record of important dates, and delivery deadlines for projects you are working on and upload/share documents etc.

Apart from this, it can also have a built-in mailing system to let you and your people interact with the team or potential customers. It uses data analysis about customers’ history to improve business relationships, specifically focusing on customer retention and ultimately driving sales growth.

The initial cost for CRM development may cost thousands of dollars whereas subscribing to some online CRM services is generally priced on per per-user, per-month basis.

But you can also do it on your own in a few minutes if you register your domain at Sangkrit.net and subscribe to a hosting option such as cPanel WebhostingPlesk Windows HostingWebhosting PlusVPS, or Dedicated Server.

Sangkrit.net provides you one-click web application installer which can also be used for installing CRM software on your domain or subdirectory.

There are many types of CRM applications that can be installed on your domain at SANGKRIT.net, for instance:

  1. SugarCRM is a free customer relationship management (CRM) application. Initially released in 2004, today it powers operations for over one million businesses and organizations worldwide. It has received the Best Free CRM Software award by the InfoWorld Bossie Awards program for the past five consecutive years.
  2. SuiteCRM which is another CRM application is a free software forked from SugarCRM Community in 2013. It provides enterprise-grade CRM to a global community of users and software developers.
  3. There are more CRM options such as – Vtiger, Feng Shui, Group Office, Zurmo, etc, you can find more information and a manual about them on your application installer page at Sangkrit.net.

How To Install CRM On Your Domain Name?

On your web hosting’s cPanel, simply launch Installatron, the one-click application installer. Now switch to the Application Browser tab, scroll down to Applications for eCommerce and Business, and click a CRM software to install.

(The page also provides you the important links for support and documentation of the CRM you are installing, you can revisit the page anytime in the future for any support)

It will take you to a form, fill in the important fields such as the domain and directory where you want to install this application, the username, and password you like to use for future logins, etc. Then simply click the INSTALL button and wait.

Once installed successfully, it will provide you the admin page URL from where you can log in to your CRM dashboard using the login credentials you added at the beginning of the installation.

Customer Relationship Management (CRM) is crucial for businesses across various industries. Its importance lies in its ability to help organizations build and maintain strong relationships with customers, which, in turn, can lead to increased customer satisfaction, loyalty, and business growth.

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 Recover A VPS Or Dedicated Server With Rescue Mode?

Rescue mode is a valuable tool for server administrators and system administrators because it provides a means to troubleshoot and recover a server in various scenarios.

Accessing your server by using the recovery console especially when you lose access to your Linux VPS or Dedicated Server is one thing. But, sometimes logging in through the recovery console doesn’t help or it doesn’t work for you then, in that case, you need to boot your server in ‘Rescue Mode‘.

In rescue mode, you are given temporary login credentials that you use to get into your server via SSH to resolve your server-related issues.

Login to your Sangkrit.net account and follow these steps:

  1. Visit your ‘Products‘ page
  2. On your ‘My Products‘ page, click ‘Manage
  3. Select ‘Rescue Mode‘ from the ‘Server Actions‘ option
  4. Click ‘Confirm

A progress message will appear, and in a few minutes, your server will reboot to rescue mode. Your server dashboard will now show that your server is running in ‘Rescue Mode‘. This message appears next to your server name.

Now you can use those temporary login credentials to access your server via SSH and you will be able to access all files available on your server.

Complete your work and when you are done, click ‘Exit Rescue Mode‘ present in your server’s Dashboard. Your server will now reboot to the active mode i.e. normal mode.

Additionally, exercise caution when making changes in rescue mode, as improper actions can potentially cause data loss or system instability.

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.

How To Use Secure Shell SSH On Your VPS Or Dedicated Server?

Secure Shell (SSH) is a more secure and popular network protocol that delivers secure communication over an unsecured network, such as the Internet. SSH is primarily used for remote login and command-line execution on remote machines but it can also be used for securely transferring files from one system to another just like FTP. So in this case you can say that SSH is a more secure version of FTP.

After you subscribe to a VPS or Dedicated Server, you can transfer files and backup using SSH and for that, you will need to follow a few general steps to connect your server via SSH Secure Shell using a local client. This is needed to transfer, backup, or upload your web/app files, etc.

SSH is a cryptographic network protocol for operating network services securely. Since it is a method for doing a secure remote login from one device to another, here, the two devices are your local machine i.e. your computer, and your server i.e. your VPS or Dedicated Server.

Now following are the exact steps to make a connection via SSH but a few things may depend on the SSH client you use. If you don’t use Linux Terminal then you may use PuTTy for Windows, or Terminal on a MacOS machine.

​​Before you start with the SSH login you will need to obtain this info:

  • Your domain name or IP address
  • Your primary FTP username
  • Your primary FTP password

In case you don’t know where to find these things, you may search their tutorials or simply email or call the online support team to get help.

For security reasons, your dedicated server is provisioned with disabled admin/root access. But you can enable it by following these steps:

  1. Login to your Sangkrit.net account
  2. ​​Navigate to your My Products page
  3. Click Servers
  4. Next to the Generation 4 server, click Manage
  5. Select Settings from the top of the page in your account dashboard
  6. In the access section, next to the admin access, click Manage
  7. Select Enable Admin Access (this is actually root account sudo access) 
  8. Now click Save
  9. Admin access is now enabled

Next, Establish a connection:

Launch your SSH client, enter the host i.e. your domain name or IP address, and your SSH port number (which by default is 22) to establish the SSH connection.

Now you will be asked to enter the FTP details. As prompted for that, enter your primary FTP username and password and click GO or whatever action button is there in your client. That’s it. Your client will now make a connection.

How To Map Domain Names When Name Servers Don’t Work?

Domain mapping is a process that allows you to use a domain name on your website or web service on any hosting option such as cPanel WebhostingPlesk Windows HostingWebhosting PlusVPS, or Dedicated Server. It is generally done by updating the name servers on domain names to point to the server where you are hosting or planning to host your website.

Sometimes on self-managed servers and advanced hostings, the nameserver needs complex configurations to work, these settings might not be easy for general users. If adding custom name servers doesn’t work for you, you can set your domain name to work simply by editing its DNS zone.

In this case, you don’t need to edit or use custom name servers but make some changes in the DNS zone file and it will start working with default nameservers provided during the time of registration.

The first thing you need to do is log in to your VPS or Dedicated Server and copy its IP address which you will find on the My Products -> Servers -> Manage page. If you have a hosting, the IP address would be visible on the cPanel’s information page.

Once you have the IP address the next step is to log in to your domain account and click the ‘Manage‘ button to open up domain details.

DNS 1

Select the DNS Zone File tab to edit your domain’s zone information. Click the ‘Add Record‘ button present in the zone file section and add records as shown in the following screenshot.

DNS 2

The examples:

  • Hostname – www, record type – A address, ***.***.***.*** (IP)
  • Hostname – @, record type – A Address, ***.***.***.*** (IP)
  • Hostname – *, record type – A Address, ***.***.***.*** (IP)

Don’t forget to replace the ***.***.***.*** with your server’s IP address. You can add records one by one by clicking the ‘Add Another’ button. Once DNS records are added, save changes, log out, and wait for the DNS propagation.

DNS propagation refers to the process by which changes made to Domain Name System (DNS) records are distributed and adopted across the internet. When you make changes to your DNS records, such as updating the IP address associated with a domain or adding new records, these changes need to be propagated to DNS servers worldwide to ensure that internet users can reach your website or services using the updated information.

This might take up to 24 hours to complete but generally at Sangkrit.net, it starts working for you in a few minutes.

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.

Configuring RStudio IDE For Data Scientists, Statisticians And Researchers

RStudio is an integrated development environment (IDE) specifically designed for the R programming language.

The ‘R’ is a programming language and environment primarily used for statistical computing, data analysis, and graphical representation of data. It was created by Ross Ihaka and Robert Gentleman at the University of Auckland, New Zealand, and was first released in 1995. R has gained widespread popularity in the fields of data science, statistics, research, and academia due to its versatility and extensive range of packages for specialized tasks.

The language is typically used through an integrated development environment (IDE) such as RStudio, which provides a user-friendly interface for writing, running, and managing R code. Its popularity in academia, research, and industries like finance, healthcare, and technology has made it a foundational tool for data analysis and research.

In this lesson, you will learn about installing RStudio on your Sangkrit.net hosting options such as cPanel WebhostingWebhosting PlusVPS, or Dedicated Server.

RStudio provides a user-friendly interface and a set of powerful tools that make it easier for data scientists, statisticians, and researchers to work with R. RStudio is widely used for data analysis, statistical modeling, data visualization, and creating reproducible research reports.

Key features of RStudio IDE include:

  1. Script Editor: RStudio provides a dedicated script editor with features like syntax highlighting, code completion, and error checking, which help improve coding productivity.
  2. Console: The RStudio console is where you can interactively run R code and see the immediate results. It provides a workspace to explore and manipulate data on the fly.
  3. Integrated Help: RStudio offers easy access to R’s documentation and help files, making it convenient to get information about functions and packages.
  4. Environment and History: You can view and manage the objects in your R workspace, including data frames, variables, and packages. The history tab keeps track of the commands you’ve executed.
  5. Plot Viewer: RStudio includes a viewer for visualizations, making it easy to interact with and export plots generated using R’s various plotting packages.
  6. Package Management: RStudio simplifies package management by providing tools to install, update, and manage R packages.
  7. Version Control Integration: It seamlessly integrates with version control systems like Git, enabling collaborative work and tracking changes to your code.
  8. Markdown Support: RStudio supports Markdown, a lightweight markup language that allows you to create formatted documents, reports, and presentations with embedded R code chunks.
  9. Shiny Integration: Shiny is a web application framework for R, and RStudio supports developing interactive web applications using Shiny.
  10. R Markdown Reports: RStudio makes it easy to create dynamic and reproducible reports using R Markdown, which combines narrative text, code, and visualizations in a single document.
  11. Integrated Development: It offers a complete development environment with features like code profiling, debugging tools, and support for various R packages.
  12. Customizable Layout: RStudio’s layout can be customized to suit your workflow, allowing you to arrange panes and tabs according to your preferences.

RStudio is available in two editions:

  1. RStudio Desktop: This is the standalone version that you can install on your local computer.
  2. RStudio Server: This version allows you to access RStudio through a web browser on a remote server, making it suitable for collaboration and resource sharing.

How To Install RStudio Via Installatron?

RStudio has become a popular choice among R users due to its intuitive interface, extensive feature set, and strong community support. It contributes significantly to making the R programming experience more efficient and user-friendly.

Installatron is a web application automation and management tool that allows you to easily install and manage various web applications, including content management systems, e-commerce platforms, and development tools like RStudio. Here’s how you can use Installatron to install RStudio:

  1. Access Installatron: Log in to your web hosting control panel (cPanel, Plesk, etc.) where Installatron is available.
  2. Locate RStudio: Look for the Installatron icon or link in your control panel. It’s usually found in the “Software” or “Web Applications” section.
  3. Search for RStudio: Inside Installatron, use the search function to locate “RStudio” in the list of available applications. It might be listed as “RStudio Server” or similar.
  4. Initiate Installation: Click on the “Install” or “Install this application” button next to RStudio.
  5. Configuration: You’ll be presented with a form where you can configure the installation. This might include:
    • Location: Choose the directory where you want to install RStudio. For example, you can install it in a subdirectory like “rstudio” or in the root directory.
    • Version: Select the version of RStudio you want to install.
    • Administrator Login: Set up a username and password to access the RStudio admin panel.
    • Database: You might need to set up a database or database user, depending on the RStudio version you’re installing.
  6. Advanced Options: Depending on your hosting environment and preferences, you might have options to configure settings related to domain, SSL, data directory, etc.
  7. Install: Once you’ve configured the installation settings, click the “Install” or “Install Application” button.
  8. Wait for Installation: Installatron will now automatically download and install RStudio on your server. This might take a few moments.
  9. Completion: After the installation is complete, Installatron will provide you with information about accessing your newly installed RStudio instance, including URLs and login credentials.
  10. Access RStudio: Use the provided URL to access your RStudio installation through a web browser. You should be able to log in with the administrator credentials you set during installation.

Remember that the steps may vary slightly depending on your hosting type, control panel, and the version of Installatron being used. Always refer to the online support and resources provided by Sangkrit.net on your account interface.

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.