Tag Archives: cPanel

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.

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 log in 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 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 Identify & Fix HTTP Errors Of Your Website?

Every HTTP error has an HTTP code that describes the status of a URL to the client. These three-digit codes include error messages that visitors encounter.

Following are the five classes of HTTP codes divided into categories, by the first digit:

  1. Errors starting with 1, 2, or 3 are fully functional requests
  2. Errors starting with 4 are client-side error, the most common error codes span 400 to 404
  3. Errors starting with 5 are server-side error, the most common error codes span 500 to 510

4xx Errors

These errors show up where there is a problem with the client’s request (web browser etc), but often point to a problem on a website.

For instance: You have a broken link on your website, the client requests it and receives a 404 error page. That is how it works.

To resolve this you can check for broken links on your website. On WordPress this can be either done by a plugin or you can check error pages from cPanel -> Home -> Advanced -> Error Pages.

400 Bad Request

It happens when the user’s request contains an incorrect syntax.

401 Unauthorized

The error shows up when the requested file is a protected one and requires authentication, such as a username and password.

403 Forbidden

In general, this happens when the index file is missing on your server or the root directory is empty, or when you have purchased a new hosting and have not uploaded your website or have not installed WordPress, etc.

Other times, it happens when the server stops the visitor to access the requested file. To resolve this, check for the file’s permission settings. Also see whether the system protects the file in cPanel’s Indexes interface (cPanel -> Home -> Advanced -> Indexes).

404 Not Found

When the server doesn’t find the requested URL. Commonly occurs when a visitor mistypes a URL or you have interlinked to a dead URL.

Managed WordPress users may use a permalink finder plugin to reduce this error to zero.

5xx Errors

Such errors occur when a server fails to full fill an apparently-valid request made by the client. These errors are a little bit complicated because sometimes a chain of servers handles an HTTP request which means that the error may also come from other server.

In WordPress, you can resolve it by testing your themes and plugins as it generally comes from there.

Comment below for any assistance in this regard.

500 Internal Server Error

The error is a result of misconfiguration, especially when the server finds some unexpected condition and fails to gather any information about the real problem it is facing.

501 Not Implemented

Comes when the server does not support the client’s chosen HTTP method. Also, occurs on out-of-date servers. To resolve, try reloading your page, clear the browser cache. Other issues might include viruses or malware or an overload on your server.

502 Bad Gateway

Occurs when proxy servers are badly configured or IP communication between backend systems is poor or when the client’s Internet Service Provider (ISP) is overloaded. May also occur due to imroperly configured firewall functions.

Clearing the client’s (web browser) cache sometimes work in resolving this issue. Other times, you may need to report the issue to an expert. You may also comment here for help.

Try to start a new browser session, restart your system and network, change DNS and clear your cache.

503 Service Unavailable

When a server fails to handle requests due to a temporary overload or when the server is temporarily under maintenance. Generally happens when you update your website’s software. To resolve, simply wait.

504 Gateway Timeout

Comes when a server did not receive a timely response. Can happen temporarily or when your server starts to go out of resources or due to slow communication between upstream servers. To resolve, look for any server connectivity issues, check the requested page code, test your firewall for any faults.

505 HTTP Version Not Supported

When the server refuses to allow the HTTP protocol that the client system specifies. This error generally occurs when the user’s system incorrectly specifies the protocol. To resolve, switch to a modern web browser.

506 Variant Also Negotiates

Means the server is not properly configured. To resolve this issue, contact an expert or research yourself or comment below.

507 Insufficient Storage

Simply means that the server is out of free memory. The error comes when requested application fails to allocate necessary server resources. To resolve this issue, contact an expert or research yourself or comment below.

509 Bandwidth Limit Exceeded

This means that your server has reached its bandwidth limit, and you need more resources. To resolve, wait every time until the limit resets or try reducing your resource usage or upgrade your hosting plan or move to a dedicated server.

510 Not Extended

Shows up when the webserver does not support the extension attached to the HTTP request. To resolve, wait every time until the limit resets, or reduce your resource usage, or upgrade your hosting plan, or move to a dedicated server.

How To Set Up Nameservers On Dedicated Server?

Nameservers are used for masking IP addresses to domain names.

Although, you can directly mask an IP address to different records of your domain name to make it functional. But doing 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, your 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) in the New IP or IP range to add text box
  3. Enter the subnet mask in the Select a subnet mask for the IP or IPs above to use 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 same steps for each of your nameserver.

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 login to your SANGKRIT.net account and follow these steps:

  1. Vist 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 Create New cPanel Accounts From WHM Of Dedicated Server?

A cPanel provides you an easy interface to manage your domains and websites. The cPanel you get at SANGKRIT.net gives you access to more than a hundred free applications for making many types of websites in few clicks.

Dedicated Server owners can create multiple cPanels associated with different domains. Every cPanel will work like a new hosting account where more domains can be hosted by you.

Follow these steps to create new cPanel accounts:

  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.

That’s it, following these steps you can create more cPanel accounts.

The accounts you create can be accessed 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.

How To Host Multiple Domain On 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. Then you can add multiple domains to your server or enable 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 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 own 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.

How To Transfer Your Account From Other Server To SANGKRIT.net Server?

The manual transfer requires you to download files as well as the database and then upload it 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 of ‘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 if you have an additional IP address assigned on 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 It Works?

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 It Takes?

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.

How To Get Helped?

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

How To Manage Resources On Dedicated Server?

Managing resources means creating hosting packages having a set resource usage allowance for domains and websites you want to host on your dedicated server.

You can set the maximum amount of resources a domain can use so that other websites won’t get affected by it. 

  • If you are running only one website then you may simply allot all your server resources to it
  • If you are running multiple websites then you may either set a resource quota for each website or let all your sites freely use server resources

In this lesson you will learn –

  1. How to create a new hosting package?
  2. How to allot resources to it?
  3. How to assign it to a domain?

Log in to your SANGKRIT.net Account then follow these steps:

  1. Visit Products page
  2. Click the Servers tab
  3. Next to the account, you want to use, click Launch
  4. From the management interface, next to the cPanel Site,
  5. Click Manage Server (WHM) 
  6. Click Proceed

On your server’s home, To add a new package

  1. Find the Packages section on the left sidebar,
  2. Click Add a Package

Define limitations such as:

  1. Disk space
  2. Max domains
  3. Max bandwidth usage
  4. Max database usage
  5. Max email, etc

As required by you, each or selective options can be left to unlimited

Next, click the blue color Add button at the bottom of the screen.

Your package has been successfully created.

This way you can create as many packages you want, and each package will work as a separate cPanel hosting account.

You may edit or delete any packages by revisiting the packages page from the left sidebar of your dedicated server‘s home.

These steps also work on virtual private servers.

Deploying Java Applications Via Command Line Interface At SANGKRIT.net

There are two interfaces of deploying Java Applications – The file manager interface and the command line interface. SANGKRIT.net hosting and servers provide you cPanel management from where you can deploy your Java applications.

As we have discussed before, many Java applications ship in WAR packages which means Web Application Archive, which can be installed on your server.

Continue reading Deploying Java Applications Via Command Line Interface At SANGKRIT.net

How To Find Your Hosting Or Server’s IP Address?

When you have to manually update the DNS for your domain to point it to your website or when you don’t want to change the name servers because you are using some custom MX records for email or when you need to host your mobile application files on your server or whatever. You will need the IP address of your web hosting, managed WordPress or server to use it.

Continue reading How To Find Your Hosting Or Server’s IP Address?

Managing Domain’s Root Directory On Your cPanel Hosting Account

The root directory of your website has the content that loads when visitors access your domain name in a web browser. You need to put your “index file” in your website’s root directory for visitors to see your website, otherwise, it will display the FORBIDDEN page or files and folder archive list.

Website-related applications might also need to know your website’s root directory. Website’s root directory depends on whether the domain name is your primary domain name, addon domain or another type.

  1. Your primary domain name’s root directory is /public_html.
  2. Addon and subdomain names’ root directories were specified when they were set up.

Small hosting plans such as starter and economy allows you to host one domain which by default is your public_html.

Other hosting options that lets you host multiple domains, public_html becomes your primary domain (the domain name used to reference your hosting account) and other domain names are located either in your home directory or public_html or anywhere else with their names as specified while adding them from addon domain section of your cPanel.

For instance: By default addon domain yourname.com would be added as yourname.com folder in your cPanel’s home directory which can be accessed from the File Manager. (The home directory is the folder above the public_html directory on your hosting account.)

How to find Domains listed in cPanel?

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

  1. Click Web Hosting.
  2. Next to the cPanel account you want to use, click Manage.
  3. Click cPanel Admin, in Domains section click the domain type you would like to view or manage.

Click either Subdomains or Addon Domains, depending on the type of domain you’re using. The root directory displays in the Document Root field.