Category Archive Hosting

ByJUJU-dev

How to get an SSH client

How to get an SSH client

How to get an SSH client
To access your account via SSH, you should download and install one of available SSH clients. You can find the list of free SSH clients in the table below. If you have Windows, we recommend to use PuTTY as your SSH client.

SSH Client Operating Systems Supported Download
PuTTY Windows and Unix
WinSCP Windows (SCP and SFTP, no SSH)
Fugu Macintosh

 

ByJUJU-dev

How to connect via SSH using keys

Connecting to a server via SSH using keys is a secure and convenient way to access your server without having to remember a password. Here’s a step-by-step guide on how to connect to a server via SSH using keys:

Prerequisites:

  • You have a Unix-based operating system (such as Linux or macOS) or a tool that allows you to use SSH, such as PuTTY on Windows.
  • You have generated a pair of SSH keys using a tool like OpenSSL or Git Bash.
  • You have the public key saved on your local machine and the private key saved on your server.

Step 1: Generate a pair of SSH keys

If you haven’t already, generate a pair of SSH keys using a tool like OpenSSL or Git Bash. The process is as follows:

  • Open Terminal or Git Bash.
  • Run the command ssh-keygen -t rsa -b 4096 (or ssh-keygen -t ed25519 for newer versions of OpenSSH).
  • Follow the prompts to create a new key pair.
  • Save the private key in a secure location, such as ~/.ssh/id_rsa (or ~/.ssh/id_ed25519 for newer versions of OpenSSH).
  • Save the public key in a file, such as ~/.ssh/id_rsa.pub (or ~/.ssh/id_ed25519.pub for newer versions of OpenSSH).

Step 2: Copy the public key to your server

Copy the contents of the public key file (id_rsa.pub or id_ed25519.pub) and add it to the authorized_keys file on your server. You can do this using SFTP, SCP, or by pasting it directly into the file using SSH.

Step 3: Configure SSH client

To connect to your server using SSH, you’ll need to configure your SSH client. The process is as follows:

  • On Linux/macOS, open Terminal and run the command ssh-add ~/.ssh/id_rsa (or ssh-add ~/.ssh/id_ed25519 for newer versions of OpenSSH).
  • On Windows, open PuTTY and load the private key file by clicking “File” > “Load private key” and selecting your private key file.

Step 4: Connect to your server

Use your configured SSH client to connect to your server. The command would be:

ssh user@your-server-ip-or-hostname

Replace user with your username and your-server-ip-or-hostname with your server’s IP address or hostname.

Tips and Variations:

  • Make sure to set the correct permissions on the authorized_keys file and ensure it’s only readable by the owner.
  • If you’re using a non-standard port for SSH, specify it in the connection command: ssh -p 2222 user@your-server-ip-or-hostname.
  • If you’re connecting from a corporate network or behind a firewall, you may need to configure your firewall rules or ask your network administrator for assistance.

By following these steps, you should be able to connect to your server via SSH using keys. This method provides an additional layer of security compared to traditional password-based authentication.

ByJUJU-dev

What is SSH?

What is SSH?

What is SSH?

Secure Shell or SSH is a network protocol that allows data to be exchanged using a secure channel between two networked devices. The two major versions of the protocol are SSH-1 and SSH-2.

Shell is a program to log into another computer over a network to execute commands on a remote machine and to move files from one machine to another. It provides strong authentication and secure communications over insecure channels.

SSH was designed as a replacement for Telnet and other insecure remote shells (rlogin, rsh, rcp, and rdist), which send information, notably passwords, in plain text, rendering them susceptible to packet analysis. The encryption used by SSH is intended to provide confidentiality and integrity of data over an unsecured network, such as the Internet.

ByJUJU-dev

Reseller Hosting – Getting Started

Congratulations on choosing cPanel Reseller Hosting! Here’s a step-by-step guide to help you get started:

Step 1: Sign up for an account

  1. Go to the cPanel website (www.cpanel.net) and click on “Reseller Hosting”.
  2. Fill out the sign-up form with your details, including your name, email address, and password.
  3. Choose your hosting plan and payment method.
  4. Review the terms and conditions, then click “Sign up” to complete the registration process.

Step 2: Set up your reseller account

  1. Log in to your cPanel account using your username and password.
  2. Click on “Reseller” > “Account Information” to set up your reseller account.
  3. Fill out the required information, including your name, email address, and contact details.
  4. Set up your billing information and payment method.
  5. Click “Save” to save your changes.

Step 3: Create your first package

  1. Click on “Reseller” > “Packages” to create a new package.
  2. Choose the package type (e.g., Shared, Semi-Dedicated, or VPS) and select the resources you want to allocate to each package.
  3. Set the pricing for each package and choose the billing cycle (e.g., monthly or annually).
  4. Click “Create” to create the package.

Step 4: Create a client account

  1. Click on “Reseller” > “Clients” to create a new client account.
  2. Fill out the client’s information, including their name, email address, and contact details.
  3. Assign the client to one of your packages (created in Step 3).
  4. Click “Create” to create the client account.

Step 5: Create a new domain

  1. Click on “Domains” > “Manage Domains” to create a new domain.
  2. Enter the domain name you want to create (e.g., example.com).
  3. Choose the domain extension (e.g., .com, .net, .org) and set the nameservers.
  4. Set up any additional settings (e.g., IP address, DNS records).
  5. Click “Create” to create the domain.

Step 6: Set up cPanel access

  1. Log in to your cPanel account as a reseller.
  2. Click on “Reseller” > “Client Access” to grant access to your clients.
  3. Assign each client to their respective package and grant them access to their own cPanel account.
  4. Provide each client with their login credentials (username and password).

Additional Tips:

  • Make sure you have sufficient resources (e.g., disk space, bandwidth) allocated for each package.
  • Monitor your clients’ usage regularly to ensure they don’t exceed their allocated resources.
  • Use cPanel’s built-in tools (e.g., WHMCS) to manage your clients’ accounts and invoices.

By following these steps, you’ll be well on your way to setting up a successful cPanel Reseller Hosting business

ByJUJU-dev

What is the difference between shared hosting and VPS?

What is the difference between shared hosting and VPS?

What is the difference between shared hosting and VPS?
It is the same difference as between a dedicated server and usual shared hosting.

With a VPS, you receive all the power of dedicated hosting with the ability to have your own set of services and customizable disk space. With shared hosting, you have limited administrative access and can’t customize software configurations, while with a VPS you can perform any actions from your control panel and don’t need to contact technical support with every single request.

Shared hosting and Virtual Private Server (VPS) are two types of web hosting services that cater to different needs and requirements. Here’s a brief comparison of the two:

Shared Hosting:

  • Shared hosting is a type of web hosting where multiple websites share the same physical server and its resources.
  • Each website is hosted on a single server, and resources such as CPU, memory, and disk space are shared among all websites.
  • Shared hosting is suitable for small to medium-sized websites with moderate traffic.
  • It’s often less expensive than VPS hosting, with prices starting from around $5-10 per month.
  • Shared hosting plans usually come with limitations, such as:
    • Limited storage space
    • Limited bandwidth
    • Limited CPU resources
    • Limited scalability
    • Shared resources can lead to slower performance

Virtual Private Server (VPS):

  • VPS is a type of virtualization technology that partitions a physical server into multiple virtual servers, each with its own dedicated resources.
  • Each VPS is a virtualized server, running its own operating system, with dedicated CPU, memory, and storage.
  • VPS hosting is suitable for medium to large-sized websites with high traffic or resource-intensive applications.
  • It’s often more expensive than shared hosting, with prices starting from around $20-50 per month.
  • VPS plans usually offer:
    • Dedicated resources (CPU, memory, storage)
    • Better performance and scalability
    • Root access to the server
    • More control over server settings and configurations
    • Flexibility to upgrade or downgrade plans as needed

Key differences:

  1. Resource allocation: Shared hosting shares resources among multiple websites, while VPS provides dedicated resources for each virtual server.
  2. Performance: VPS typically offers better performance due to dedicated resources, while shared hosting may experience slower performance due to resource sharing.
  3. Scalability: VPS allows for easier scalability by upgrading or downgrading plans as needed, while shared hosting may require migration to a different plan or server.
  4. Control: VPS provides root access to the server, giving you more control over server settings and configurations, while shared hosting typically has limited control options.
  5. Cost: Shared hosting is often less expensive than VPS hosting.

When deciding between shared hosting and VPS, consider the following factors:

  • Your website’s traffic and resource requirements
  • Your budget
  • The level of control and customization you need
  • The scalability requirements for your website

If your website has moderate traffic and resource requirements, shared hosting might be sufficient. However, if you need more control, dedicated resources, and scalability, VPS might be a better option.

ByJUJU-dev

Why should I choose VPS hosting?

Why should I choose VPS hosting?Why should I choose VPS hosting?

Virtual Private Server is the right choice for developers, webmasters, resellers and simply for those who run resource-intensive websites. We use KVM and VMware technologies for virtualization, that is why each VPS performs and executes exactly like an independent physical machine and therefore offers security and flexibility for your sites, independence from neighbors, full control over your hosting environment and power of a dedicated server at an affordable price. KVM delivers 133% increase in disk speed performance comparing to XEN technology. Both KVM and VMware VPSs has got their own customers, and we respect all those customers.

 

ByJUJU-dev

What is a VPS?

What is a VPS?

What is a VPS?

With a VPS, you open a world of possibilities that would not be possible on shared hosting because of restrictions.

VPS stands for Virtual Private Server. This refers to the partitioning of a physical server into multiple servers. In effect, each one acts just like a dedicated server, you get all the features of a dedicated server but at a lower price. Each VPS has its own operating system, and each can be rebooted separately. These operating systems each receive a specific share of the resources of the physical server, no more and no less, they are isolated from each other so that one cannot interfere with another. If one VPS experiences problems or tries to use too much memory or CPU resources, it has no effect on the others.

There are many advantages to selecting a VPS, it costs less than a fully dedicated server and provides a great deal of freedom and flexibility over the limitations and restrictions of shared hosting. You are limited only by the capabilities of the VPS, so select one powerful enough to meet your needs. You can always upgrade later if you decide it becomes necessary.

As for virtualization technologies we offer KVM VPS servers.

Since you are supposed to manage your VPS yourself, we recommend you have a good understanding of Linux commands and are familiar with the WHM/cPanel control panel. You can get a VPS without WHM/cPanel, but in this case, you would need to have very advanced knowledge of Linux.

If you don’t feel you have the technical expertise necessary to manage your own VPS, there is no need to let that stop you – you can select full management for an additional fee.

You won’t have root access, and it will act much like a shared hosting plan, but you will still make the decisions.

cPanel is required if you choose full management for a VPS.

ByJUJU-dev

How to log in to WordPress using Softaculous

How to log in to WordPress using Softaculous

Softaculous allows you to install and manage WordPress in a few clicks. It is not just easy to install programs by using it, it is a big time saver because it automates many tasks related to software installation. In this guide, we will show you how to log in to a website’s dashboard using Softaculous.

1. Log in to your cPanel account:

How to log in to WordPress using Softaculous
2. Scroll to the bottom of the page, find ‘Softaculous App Installer’ and click the WordPress icon:
How to log in to WordPress using Softaculous

3. Navigate to All Installations menu:

How to log in to WordPress using Softaculous

4. When working with a CMS, you’ll generally need to log in to it as an Administrator. In order to proceed, click the Admin icon:

How to log in to WordPress using Softaculous

You are in. Feel free to manage your website!

ByJUJU-dev

How to reset WordPress admin password

How to reset WordPress admin password

There are three ways to reset a lost WordPress dashboard password:

Using the Lost Password option
Using Softaculous Apps installer
In the database

Using the Lost Password option

1. Open your WordPress administrative login page – it is usually located in http://yourdomain.com/wp-admin.

2. Click on the Lost your password? option, fill out the username or email address > Get New Password:

How to reset WordPress admin password

How to reset WordPress admin password

3. Log into your email account, which is set as your administrative WordPress contact. You can find the email message with the password reset URL there, click on it:
How to reset WordPress admin password

4. Enter your new strong password twice on the opened page > Reset password:

How to reset WordPress admin password

Using Softaculous Apps installer

In order to change the password for your WordPress admin user, follow next steps:

1. Log into cPanel and navigate to Softaculous Apps Installer menu:

How to reset WordPress admin password

2. In the Softaculous interface find All Installations icon in the top right corner:

How to reset WordPress admin password

3. In this menu you will see Scripts Installations list. Select the one you need to change the admin password for and click on Edit Details (pencil icon) next to it:

How to reset WordPress admin password

4. Next you will see installation details page. Scroll down to Admin Account section. Here you need to enter your current username and the new password in Admin Password field:

How to reset WordPress admin password

5. Once done, scroll down to the bottom of the page and hit Save installation details button:

How to reset WordPress admin password

6. After that you will receive the message about the successful update:

How to reset WordPress admin password

Feel free to log in to WordPress admin panel using the new password.

Reset the password via the database

If Lost your password? confirmation emails do not arrive, or if you have no access to the email account linked to your administrative dashboard, you can reset your password via MySQL database:

1. Log into your cPanel > section Files File manager and navigate to the document root of your WordPress website:

How to reset WordPress admin password

2. To check what database is used for your WordPress website, open the wp-config.php file located in:

How to reset WordPress admin password

3. Go to cPanel > Databases section > phpMyAdmin:

How to reset WordPress admin password

4. Select the database in question, table wp-users and click on Edit next to the admin user:

How to reset WordPress admin password

5. On the next page, type in your new strong password into the user_pass box, select MD5 in the Function column and click Go:

How to reset WordPress admin password

You can now go back to the WordPress dashboard page and try to log in with the new password.

 

ByJUJU-dev

How to move WordPress from a subfolder

Moving WordPress from a subfolder to the root directory of your website can be a bit complex, but it’s a straightforward process if you follow these steps:

Step 1: Backup your site

Before making any changes, it’s essential to backup your website. This will ensure that you have a copy of your site’s files and database in case something goes wrong during the migration process.

Step 2: Change the WordPress address

In the wp-config.php file, update the WP_HOME and WP_SITEURL constants to point to the new root directory. You can do this by adding the following lines at the top of the file:

define('WP_HOME', 'http://example.com');
define('WP_SITEURL', 'http://example.com');

Replace http://example.com with your website’s root URL.

Step 3: Update the database

You’ll need to update the database to reflect the new root directory. You can do this by running the following SQL query:

UPDATE wp_options SET option_value = replace(option_value, 'http://www.example.com/subfolder/', 'http://www.example.com/') WHERE option_name = 'home' OR option_name = 'site_url';

Replace http://www.example.com/subfolder/ with your current site URL and http://www.example.com/ with your new root URL.

Step 4: Update theme files

You’ll need to update any theme files that contain hard-coded URLs pointing to the subfolder. You can use a find-and-replace tool or manually search for these instances.

Step 5: Move files

Move all files from the subfolder to the root directory. Make sure to preserve the directory structure and file names.

Step 6: Update .htaccess file

Update the .htaccess file to point to the new root directory. You can do this by adding the following lines:

RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_URI} !^/subfolder [NC]
RewriteRule ^(.*)$ /subfolder/$1 [L]

This will redirect any requests from the old subfolder URL to the new root URL.

Step 7: Test your site

After moving your site, test it thoroughly to ensure everything is working as expected. Check that all pages, posts, and images are displaying correctly.

Additional tips

  • Make sure to update any plugins or themes that rely on hard-coded URLs.
  • If you’re using a caching plugin, clear the cache after moving your site.
  • Consider updating your DNS settings if you’re changing your domain name.

By following these steps, you should be able to successfully move your WordPress site from a subfolder to the root directory. If you encounter any issues or have further questions, feel free to ask!