Category Archives: System Engineering

Accessing The Recovery Console Of Linux VPS & Dedicated Server

In the previous lesson, you learned about the secure shell i.e. SSH. Next important thing is that if you lose access to your server due to some security issue, you can use the recovery console provided to you to regain access (via SSH) to your Linux VPS or Dedicated Server.

For example, in a case, if you have been accidentally locked out by some new firewall or IP rule then a recovery console is the thing you will need to regain access to your server. But there also you will need to know your server username and password so that you can connect to your server via SSH.

But before that, you should know while working on Linux VPS, some steps to regain access are different from the actual steps of the recovery console on the Dedicated Server.

So, If you are a VPS user simply follow these steps:

  1. Login to your SANGKRIT.net account and visit your Products page
  2. On your My Products page, click Servers, and next to the server you like to use, click Manage button
  3. Now in the top left corner of the Account Dashboard, select Recovery Console
  4. Next press Enter and now you can now log into your server to make changes

Whereas on a Dedicated Server, log in to your SANGKRIT.net account and follow these steps:

  1. Click the Servers option on your My Products page
  2. Click Manage right next to the Server you like to use
  3. On the top-right corner, click Server Actions
  4. Select Recovery Console

It takes a moment for the Recovery Console and then it automatically launches in a new browser tab. You will have to use your SSH login credentials to get into your server to make the required changes.

Now, the next important thing you should know is in case logging in through the Recovery Console does not work for you or it is of no help to you then, you should try booting your server in Rescue Mode. We will discuss the Server Rescue Mode in our next lesson.

Dedicated Server Means Your Business Can Serve More People

Running your business over a dedicated server means you can serve more people online. Just like the domain name is your online business address, your server acts as your business location. So if you want a good location for your business then go for a good hosting option and it is only a dedicated server.

Running an online business involves less money compared to selling anything in the same old way. You don’t have to invest money in purchasing business premises or worry about the business location. During the old days, planning where to locate a business and selecting its premises was very important. The location used to play a big role in attracting and retaining customers. Now in the online business, these two things got replaced with domain names and servers

If your server is big, your business website can handle huge amounts of traffic (customers) and if it is small then it would be like a small counter crowded with so many customers, where the owner can never think of serving more people or earning more money. 

Running your website over a dedicated server plan simply means you can serve more people. Thus, your business will also grow more.

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 Domain Redirects On cPanel Of Your Server Or Hosting?

Using domain redirects you can redirect an entire domain or selective links to a new domain or links to individual pages. While configuring a domain redirect on cPanel, you will notice that there are two types of redirect options; temporary redirect, and permanent redirects.

  • A 301 redirect i.e. permanent redirect means that you are directing the page permanently. It prompts the search engines and HTTP clients to update their caches to the new link. It simply indicates that the page has been moved to a new address permanently. This is useful when you move your website to a new domain.
  • A 302 redirect i.e. temporary redirect means Found, but it is mainly used to tell the search engines and HTTP clients that the page is temporarily redirected and will soon be available to the old address, so there is no need for them to update their caches, etc. This is useful while you are developing your website or working on a page.

To configure a redirect, simply log in to your SANGKRIT.net account and follow these steps:

  1. Open the products page
  2. Select your hosting or server
  3. Open your cPanel hosting account or select a cPanel of your server
  4. Scroll down to the Domains section and click the Redirects option
  5. Select Permanent (301) or Temporary (302) from the first dropdown
  6. Choose the domain you want to redirect
  7. In case you are redirecting a page, simply paste the URL of the page
  8. Add the new destination domain or URL including https:// or http:// protocol
  9. Click the Add button

You will also notice that there is a wild card redirect option present as a checkbox. Ticking this option will redirect all of a site’s pages to the same URL you have entered.

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.

How To Update Folder & File Permissions On cPanel?

All files have some preset permission that directs the cPanel system on handling different access requests. For instance: The file permission tells the cPanel what files are only readable, or editable, or hidden on your server.

You can change file permissions by performing a few steps. Simply log in to your SANGKRIT.net account and follow these steps:

  1. Open the products page
  2. Select your hosting or server
  3. Open your cPanel account
  4. Scroll down and open the FILE MANAGER
  5. Click Settings to open the Preferences box
  6. Click Permissions on the top toolbar
  7. Now simply use the checkboxes or given text boxes to update the permissions. The setting defaults to 0644
  8. When you are done, click Change Permissions 
  9. Your changes will be saved by the system

Note: You can visually change the file permission by using the tick box. In case, if you are using number code to change file permissions then you should know that:

  1. Zero is no permission
  2. Read permission is r or 4
  3. Write permission is w or 2
  4. Execute permission is x or 1

Where,

  • Read allows users to view and read the file
  • Write allows users to edit and update the file
  • Execute allows users to run the file as a program

But the permissions have a different meaning on folders:

  1. Read enables users to list and view the files in the directory
  2. Write enables users to create, rename, and delete files in the directory
  3. Execute enables users to access the files and folders within the directory

Next to each file permission, there are tick boxes for user groups. It allows you to set what permissions on a file are applied to what group of users. There are three groups given as checkboxes:

  • User means permissions are applied to the owner of the file
  • Group means permissions are applied to other users on the group to which the file belongs to
  • World means the permissions are applied for everyone, this also includes users who are not in the group to which the file belongs to

Read other lessons on cPanel File System.

How To Change The Default Folder Of cPanel File Manager?

You can change the default folder in which the File Manager interface opens, simply login to your SANGKRIT.net account and follow the steps:

  1. Open the products page
  2. Select your hosting or server
  3. Open your cPanel account
  4. Scroll down to select the FILE MANAGER
  5. Click Settings to open the Preferences box
  6. Now select a folder to open by default:
    • Home Directory — This is the main folder for your account
    • WebRoot (public_html or www) — Provides a direct route to your website files
    • Public FTP Root (public_ftp) — Is your FTP files directory
    • Document Root for: — This is the main folder of the domain name that you select from the menu
  7. Select the folder you want the file manager to open by default
  8. Click Save

And you are done.

Read other lessons on cPanel File System.

How To Create, Copy, Or Move Files On cPanel?

The cPanel File Manager allows you to visually copy, create or move files and folders in a few easy steps. Simply log in to your SANGKRIT.net account and follow the steps:

Creating New Files & Folders:

  1. Click + File or + Folder icon given in the toolbar
  2. Enter the name of the new file or folder you are creating
  3. Enter the location where you want your new folder or file to be created
  4. Click Create New File or Create New Folder button

TIP: In step number two, you may also rename any folder or file. Simply click the name, enter the new name. Then, press the Return key and your changes will be saved.

Copying Files & Folders:

  1. CTRL + Click to select the files you want to copy
  2. Click the Copy icon given in the top toolbar of your cPanel
  3. Enter the file path where you want to copy the file
  4. Click the Copy Files button

REMEMBER: You cannot create a copy within the same folder.

TIP: In step number two, alternatively you may right-click and select the copy option from the menu.

Moving Files & Folders:

  1. CTRL + Click to select the file or files that you want to move
  2. Click the Move icon given in the top toolbar of your cPanel
  3. Enter the file path where you want to move the file
  4. Click the Move Files button

TIP: Alternatively, you may also move files by dragging a file to a new destination folder.

Read more lessons on cPanel File System.

How To Configure PHP Directives On Your Server?

PHP allows you to control different aspects of your websites by using directives in php.ini files. These files contain the default configuration for the operation of PHP applications.

By using PHP directives you can control different variables such as upload size, file timeout, and resource limit, etc of websites running on your hosting, VPS, or dedicated server.

To add or edit a PHP directive – Log in to your SANGKRIT.net account and follow these steps:

  1. Open cPanel of your server or hosting option
  2. Navigate to the File Manager interface via cPanel -> Home -> Files -> File Manager
  3. Make sure that hidden files are visible to you or you can enable them via Settings, by ticking the Show hidden files checkbox option
  4. Navigate to the target directory.
  5. Create a new file – click New File / + File button
  6. Enter .user.ini filename
  7. Click Create New File button
  8. Select the new file from the list of files and click Edit
  9. Now enter the PHP directives you wish to adjust for the present directory
  10. Click the Save button

INI files can be configured on per-directory basis and are processed only by the CGI/FASTCGI SAPI. This functionality obsoletes the PECL htscanner extension. If you are running PHP as an Apache module then the .htaccess file will do your thing.

In addition to the main INI file, PHP scans each directory for its INI file. In a case where the PHP file has been kept outside the document root, only its directory is scanned.

How To Scan Your cPanel Account For Security Threats?

The free virus scanner provided on every cPanel hosting, VPS, and the Dedicated Server allows you to scan your account for possible security threats.

To use it, simply login to your SANGKRIT.net account and perform the steps given below:

  1. Select a service to scan:
    • Scan Mail — To scan all of your account’s mail folders
    • Scan Entire Home Directory — To scan your account’s home directory
    • Scan Public FTP Space — To scan all of the publicly accessible folders via FTP services
    • Scan Public Web Space — To scan all of the publicly accessible folders via the web
  2. After selecting a service, click the Scan Now button
  3. Here, the scanning process starts and displays you a new interface with the following information:
    • File — Displays the number of files that the system has scanned as well as the total number of files to be scanned
    • Data — Displays the amount of data the system has scanned as well as the total amount of data to be scanned
    • Scanner Progress — Displays the progress of the scan
    • Infected Files — Displays malicious stuff the scanner has detected

The server may take several minutes to complete the scan. If the scanner identifies a threat, it will prompt you to perform an action. Once the scan is complete, you will be returned to your main Virus Scanner interface.

How To Update PHP On Your Dedicated Server?

You can reset the version of PHP on your dedicated server and its cPanel sites. Sometimes one version of PHP works for some sites while it doesn’t work for others.

For example: While running WordPress, the recommended PHP version is at least PHP 7 or higher. However, it also runs on some lower versions.

The lesson will guide you how you can update PHP version both server wide and on per domain basis.

To upgrade PHP on your Dedicated Server:

  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

On your WHM admin page:

  1. Search PHP on left side search box
  2. Click MultiPHP Manager
  3. You will see a list of domains
  4. You can set PHP version per Domain
  5. Select the domains that you wish to change
  6. Apply a PHP version from the list given there

The page also enables you to set a system default PHP version.

Any domain that is set to the inherit value indicates that it does not have its own PHP version explicitly set.

Newer versions of PHP are released with a lot of new improvements. As it progresses, every update is made to make it more secure, less resource hungry, and overall faster than before.

For any more help, simply comment below or use the helpline.

How To Administer A Dedicated Server?

The dedicated servers at SANGKRIT.net offer you a WHM admin panel that lets you create multiple cPanel hosting accounts to host your websites and apps.

Before you start, make sure you have subscribed to a Dedicated Server at SANGKRIT.net.

Next, 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

This directs you to the administration area of your dedicated server which can be divided into five major sections:

  1. Main navigation
  2. Support & View options
  3. Side navigation
  4. Demo Steps
  5. Functions

Where,

Section 1, Main Navigation

The main navigation bar remains visible as you navigate throughout your server.

Where you may click –

  • News for important news and announcements
  • Change Log to view the changelogs
  • Log Out to log out

It also displays important server notices.

Section 2, Support & View Options

The top right corner of your server’s admin panel has two sets of options:

  1. The View option allows you to switch admin theme view, and
  2. The lifesaver icon allows you to view the support menu that covers the following set of features:
  • Support Forums for discussing cPanel issues
  • Link for accessing the knowledge base documentation
  • Contact option to submit a ticket to cPanel Technical Support

This section only covers the most helpful features of WHM. To view all of the features in the home interface you may switch to classic view. 

Section 3, The Side Navigation

The side navigation menu provides you access to all of the admin interfaces. Here, you may either scroll and select a page or simply search the specific admin pages.

This is a very deep section that lets you manage almost all functions of your dedicated server.

Section 4, Demo Steps

Here, you will find new notices, demo, and steps for quick access to some important actions needed on your new server.

Sections 5, Functions

This section displays the admin page you click from the side navigation (section -3). It provides the server’s root user and resellers with access to all of the server’s administration features.

Now you are introduced to your server’s admin panel.

Next, start by searching ‘Account Functions‘ on the side navigation. The option lets you host domains and manage your cPanel accounts, follow this lesson.

Serious Players Startup Only Seriously

Three things actually determine whether anything could seriously become your business.

1. Do you love doing what you do?

First of all you must ask yourself whether you love what you are planning doing for the rest of your life? So that your business could get judged at last as your lifetime achievement although that can happen only when this inspires your lifelong engagement.

Any chances to leave things midway are minimised once you truly love doing what you do. That is how your lifelong commitment matters most in determining if anything is seriously your business.

2. Do you adeqautely disrupt by doing so?

Secondly Sangkrit teaches you to start-up only if your idea of doing business adequately disrupts. As per his algorithm, up to the level, your idea can disrupt, determines the total sum of your scope to succeed as a startup.

That is how any serious people play their game to monopolise any particular human behaviour.

3. Did you startup on a dedicated server?

Finally when you are serious enough with your idea of doing business, you must start with a dedicated server and nothing less along with buying bulk domains in your bid for owning all possible extensions of your business domain globally because that is how this works best for monopolising any particular human behaviour as that is called a serious business.

Mediocres, who are not even sure about starting with a dedicated server, mostly fail on the internet contrary to the domainers starting on a dedicated server since any serious players startup only seriously.

Make Server Grid Selling Like Power Grids

Physically colocating a server by the end-user is costlier and loses a lot of money in the long run whereas leasing a dedicated server from https://system.sangkrit.net on monthly or annual subscription, proves much better and cheaper as technology is upgraded from time to time and physical servers are also changed regularly without charging any extra cost to the end-user.

Being a people’s personal outlet, you should focus upon helping businesses migrate into leased dedicated servers in remote clouds as that is the way of establishing and running any business in the internet age. Doing so you are most likely to get hired for administering that as well.

You ought to make server grid selling like power grids. Pursuing that on a daily basis would help you utmost to make the most wonderful living for your family.

The time has come when colocating physical server by the end-users should become obsolete the way establishing private electricity generators by the end-users did become a long time back.

Importing MySQL Databases Via SSH Command Line On Self Managed Servers

SANGKRIT.net not only offers you Managed and Fully Managed servers but it also lets you subscribe self-managed server option which is only recommended for command line experts. Because self-managed servers are without a control panel such as cPanel, Plesk, or Simple Control Panel.

These self-managed servers do not have phpMyAdmin installed which is used for managing MySQL databases. So in order to manage databases, you are required to use the SSH command line to import .SQL backup files.

This post guides you through importing MySQL databases via SSH.

Continue reading Importing MySQL Databases Via SSH Command Line On Self Managed Servers

Common Website Issues That Won’t Happen On Dedicated Servers

Dedicated Servers can be compared to owning a house. It provides you access to all available resources. No other websites resides on your server so you get complete control with better performance and security.

In this lesson we are discussing about the issues which are very common on shared hosting plans but won’t happen on Dedicated Servers.

Continue reading Common Website Issues That Won’t Happen On Dedicated Servers

10 Facts About Dedicated Server That Makes It An Ultimate Choice For Startups

Dedicated Server provides you the resources, functions and capabilities of one entire server, which is shared with no one else. Hence you will always have enough memory, bandwidth and resources to handle exponential amounts of traffic, processing and scripts. It is more reliable and secure than shared hosting plans.

Continue reading 10 Facts About Dedicated Server That Makes It An Ultimate Choice For Startups