Author Archive JUJU-dev

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!

ByJUJU-dev

How to install WordPress using Softaculous

How to install WordPress using Softaculous

Once you order hosting service, you can start creating your own website. Using Softaculous automatic app installer you can install WordPress in a few clicks.

Below you can find step-by-step guidelines covering the process:

1. Log into your cPanel.
2. Navigate to Exclusive for Namecheap customers section > Softaculous Apps Installer menu:

How to install WordPress using Softaculous
3. On the homepage, click on the WordPress icon:

How to install WordPress using Softaculous

4. Switch to the Install tab to proceed:

How to install WordPress using Softaculous

5. On the next page you will need to fill out the details of your WordPress installation.

  • Choose the domain you wish to install WordPress for
  • In the In Directory field you can specify the root folder for WordPress installation. By default, this field is empty, and it allows installing WordPress on yourdomain.com directly. If you wish to install it to a subfolder, like yourdomain.com/blog, simply type “blog” in this field.
  • Database Name can be left default.
  • Table Prefix can also be left default wp_; however, due to security reasons it is better to change it, e.g., to ncwpsite_ .
  • The Site Settings section should be filled out accordingly to your needs, though you can change it anytime later if required.

Make sure you set up secure and hard-to guess details in the Admin Account section:

How to install WordPress using Softaculous

How to install WordPress using Softaculous

How to install WordPress using Softaculous

6. When ready, scroll down and hit Install.
In a few moments you will see the message that WordPress has been successfully installed:

How to install WordPress using Softaculous

 

You can now go ahead and log into your WordPress Dashboard to start working on your website.

 

 

ByJUJU-dev

How to manage WordPress website with iPhone application

How to manage WordPress website with iPhone application

1. In order to be able to manage your WordPress website with an iPhone application, it is required to install the application first. To install the WordPress application, open App Store and go to the Search page. Type ‘WordPress‘ and press Get to install the app:

2. Once it is installed, open the app and press the Log in button:

3. Choose the Log in by entering your site address option:

4. Enter your website’s URL:

5. Next, enter your WordPress admin account access details:

6. On the next page, you will be able to add more WordPress websites or press Continue to proceed.

After pressing the ‘Continue’ button, you will be redirected to the website management page.

By pressing the ‘Stats’ button, you can install JetPack plugin to track your website’s stats. To install Jetpack, press the Set up Jetpack button:

7. To set up JetPack you will need to enter your email address that is used for your account at wordpress.com (it is required for a JetPack). If you don’t have an account at wordpress.com, create one prior to setting up JetPack. Once JetPack is set up, you will be able to check different statistics for your website, such as Latest Posts Summary, Daily stats, Posting Activity and other.

8. Publish part of the app has the following options:

Site Pages menu allows you to:

  • create pages by pressing a “+” sign;
  • check published, drafts, scheduled and trashed pages;
  • search for pages on your website;
  • view or move pages either to Draft or Trash by pressing a “…” sign.

Blog Posts menu allows you to do the same things as in the Site Pages menu but with your posts.
A post can be published by pressing the ‘+’ sign

In Media menu you can upload your media content by pressing the ‘+’ sign or ‘Upload media’ Button. You will be able to choose one of the following options:

  • take a photo or video to upload to your website;
  • choose a photo or video from the library on your phone;
  • upload a photo from other Apps (for example from iCloud).

In Comments menu you will be able to check your comments and:

  • approve a comment;
  • send a comment to trash;
  • mark a comment as spam;
  • edit a comment.

9. Personalize section. Here you will be able to work on your themes and menus:

Themes menu allows to Customize, check Details and upload themes you have. Additionally, you will be able to install new themes. That can be done by pressing the “…” sign.

In the pop-up window you will see the following options:

With the Try & Customize option you can ‘play around’ with the theme, test it out to see how it will look like on the website and activate it right away by pressing the corresponding button.

Activate option activates a theme.

View can be used to preview the theme.

Details to check theme details.

Support is where you can contact the theme support.

10. Configure part of the WordPress application dashboard allows you to:

  • add and manage Sharing Buttons on a website;
  • create new users on a website by pressing the ‘+’ button which is located in the People menu.
  • manage your plugins in the corresponding menu;
  • in the Settings menu, you can:

– change website Title, Tagline, Address, Time Zone in a General section;
– create Categories, Tags, change Post, Date and Time format on the website in the Writing section;
– track space used for Media uploads;
– adjust JetPack settings if you have it installed.

11. In the External part, you can check your website and log in to the actual wp-admin account via a browser on your phone by pressing the corresponding button. The last option ‘Remove Site’ will remove it from the WordPress App on your phone, the website itself will remain untouched.

You can also find the following options in the external part:

    • My Sites. An option that allows you to manage your WordPress websites using this application. If you have more sites added to the app, you will be able to switch between them by pressing the websites’ buttons.

 

  • Reader. By pressing it, you will be able to read some random WordPress articles created by other users.
  • Publish post button allows publishing your posts.
  • In Me menu you can change your profile settings and application settings.
  • Notifications menu allows you to set up notifications that would be sent to your phone from your website.

That’s it!

ByJUJU-dev

Difference between cPanel and WHM

Difference between cPanel and WHM

WHM (WebHost Manager) provides administrative control over your dedicated server or VPS. It allows a hosting provider to manage a customer’s account.

WHM is also a reseller control panel. It is what our customers receive with all Reseller hosting plans and use to manage all their resold hosting accounts in their reseller plans. However, a reseller has restricted reseller rights in WHM comparing to VPS and Dedicated Servers WHM (root user rights), so some functions are not available for them:

Difference between cPanel and WHM

In WHM, you can:

  • create individual accounts
  • create custom hosting packages
  • add domains to the server
  • manage features of hosting packages and accounts
  • reset passwords/contact email addresses for cPanel accounts
  • edit Resource Limits for cPanel accounts
  • modify DNS zone records for each domain/subdomain
  • set up private nameservers on the server
  • access resold accounts without entering login details
  • perform basic system and control panel maintenance

For more information about reseller WHM options, refer to this article.

cPanel is designed for managing separate hosting accounts on the server. End users/clients are able to:

  • install CMS using Softaculous
  • upload and manage files for their websites
  • add/remove addon domains and subdomains
  • create email accounts and manage email settings and SPAM protection
  • edit DNS records for their domains
  • check website statistics
  • manage databases and backups, etc.

cPanel paper_lantern theme: 

Difference between cPanel and WHM

cPanel x3 theme: Difference between cPanel and WHM

Take into account that when accessing cPanel via WHM of a reseller or root user, you can manage almost all options of the end user’s cPanel. However, some menus (like GoogleApps) can be accessed only when you are logged in as an individual cPanel user.

Here is the structure of WHM/cPanel users depending on their permissions:

1. Server Administrator Panel (root access to WHM)

The top tier and highest-level user is the ‘root’ user. This is the server administrator who has full access to the server. The server administrator has total control over all WHM functions and can modify global server settings as well as customize settings for users with more limited privileges. A root user can access all levels of WHM interface, including reseller WHM and an end cPanel user. There is only one root user per server.

2. Reseller Panel (WHM)

The reseller user is a subordinate of the server administrator.

A reseller user has a more limited set of features comparing to the root user. They are limited by the server administrator to the features which affect the reseller’s customers’ accounts but not the whole server.

Reseller access is provided with Reseller Panel (WHM) where they can manage all their resold accounts. The reseller also has access to all created accounts (‘resolds’). The privileges of the reseller are set by the server administrator. There can be multiple resellers per server.

3. Main Reseller cPanel

cPanel is a control panel used to manage the hosting account under your main domain. When you sign up for a Reseller package, you select a main domain name, it can be accessed via the main cPanel account. Login details for this cPanel coincide with WHM account details. If you need to reset the WHM password, it is required to reset the main cPanel account password, and they will both synchronize.

4. cPanel account (resold)

Resold accounts are owned by the Reseller Panel (WHM). Resold accounts can be easily created, managed and maintained in Reseller Panel (WHM).

 

ByJUJU-dev

cPanel control panel overview

cPanel is a popular web hosting control panel that provides a user-friendly interface for managing various aspects of a website, such as files, emails, databases, and more. Here’s an overview of the main features and sections found in the cPanel control panel:

Navigation

  1. Top Menu: The top menu bar provides quick access to common tasks, such as creating new files, managing databases, and accessing email accounts.
  2. Main Navigation: The main navigation menu on the left side of the screen provides access to various sections, such as Files, Email, Databases, Security, and more.

Main Sections

  1. Files: This section allows you to manage your website’s files and directories, including uploading, downloading, and deleting files.
  2. Email: This section allows you to manage email accounts, including creating new accounts, setting up forwarders, and configuring email filters.
  3. Databases: This section allows you to manage MySQL databases, including creating new databases, adding users, and executing queries.
  4. Security: This section provides security-related tools, such as password generators, IP blocking, and SSL certificates.
  5. Advanced: This section includes advanced tools for managing DNS records, Apache settings, and more.

Subsections

  1. File Manager: Within the Files section, you can manage individual files and directories using the file manager.
  2. FTP Accounts: Within the Files section, you can create and manage FTP accounts for uploading files.
  3. Email Accounts: Within the Email section, you can create and manage email accounts for your domain.
  4. MySQL Databases: Within the Databases section, you can create and manage MySQL databases for your website.
  5. SSL/TLS Manager: Within the Security section, you can generate and install SSL/TLS certificates for your domain.

Other Features

  1. Backups: cPanel provides automatic backups of your website’s data, which can be restored in case of data loss.
  2. Marketplace: cPanel offers a marketplace where you can purchase third-party add-ons and software to enhance your website’s functionality.
  3. Stats: cPanel provides statistics about your website’s traffic, bandwidth usage, and other performance metrics.
  4. Themes: cPanel offers customizable themes to change the look and feel of your control panel.

Benefits

  1. Easy-to-use interface: cPanel is known for its user-friendly interface that makes it easy to navigate and manage your website.
  2. Feature-rich: cPanel offers a wide range of features to help you manage your website effectively.
  3. Scalability: cPanel is highly scalable and can support large websites with many users.

In summary, cPanel is a powerful control panel that provides a wide range of features to help you manage your website effectively. Whether you’re a beginner or an experienced webmaster, cPanel is an excellent tool for managing your online presence.

ByJUJU-dev

How to install Composer on shared servers

How to install Composer on shared servers

Composer is a tool for dependency management in PHP. It allows you to declare the libraries your project depends on, and it will manage (install/update) them for you. Composer is not a package manager in the same sense as Yum or Apt are. Yes, it deals with ‘packages’ or libraries, but it manages them on a per-project basis, installing them in a directory (e.g., vendor) inside your project. By default, it will never install anything globally. Thus, it is a dependency manager.

To install Composer:

1. SSH access should be enabled for your hosting account with us. Follow the steps provided in this article to switch SSH access on.

2. To access your account via SSH, download and install one of the available SSH clients. You can find the list of free SSH clients here. In case you are using a Unix-based OS (Linux or OSX), you can easily run the Terminal application and connect to the server using the command:

ssh username@servername -pPORT

ssh – command for logging into the remote server
username – your cPanel username
servername– name of the server where your hosting account is located (you can find it using this tutorial)
PORT – connection port – 21098 for a Shared Hosting servers, 22 – for a VPS/Dedicated server 

3. Open your SSH client, put your domain name or the IP address of the server into the Host Name field, enter 21098 or 22 into the Port field, choose SSH as your connection type and press the Open button:

How to install Composer on shared servers
4. If you receive PuTTY Security Alert, press Yes:
How to install Composer on shared servers

When prompted, enter your cPanel username and password (when you enter the password, it is automatically hidden for security purposes):

How to install Composer on shared servers

5. Composer requires PHP 5.5+ version, so we need to check whether the needed version is set up. Type the php -v command in PuTTY (or in Terminal) and you will get the following output:

How to install Composer on shared servers

6. If you need to change PHP version, log in to your cPanel, navigate to Software and Services section >> Select PHP Version menu:

How to install Composer on shared servers

7. Select 5.5-7.2 version from the drop-down menu and then click on the Set as current button:

How to install Composer on shared servers

NOTE: Composer requires allow_url_fopen. It is enabled by default for all php versions on our shared servers. Still, you may check if it is On by going to Switch to PHP Settings in Select PHP version menu:

How to install Composer on shared servers

You can also find additional information about PHP selector here.

8. Next, navigate to the folder you want to install Composer in. In our example, we will install Composer in public_html:

cd public_html

How to install Composer on shared servers

9. Now, you will need to find or create the php.ini file and some values to it. Log in to cPanel and navigate File Manager menu:

How to install Composer on shared servers

10. Go to the folder your Composer will be installed in and create a new file named php.ini using the +File button:

How to install Composer on shared servers

11. Open it by right-clicking the created php.ini file >>  Edit:

How to install Composer on shared servers

12. Then add the following values to the file and hit the Save Changes button:

max_execution_time = 300
max_input_time = 300
memory_limit = 512M
suhosin.executor.include.whitelist = phar
detect_unicode = Off

How to install Composer on shared servers

13. When all the preparations are done, you are ready to install Composer. Open PuTTY window where you have logged into your cPanel account and fill in the following command:

php -r “readfile(‘https://getcomposer.org/installer’);” | php -c php.ini

This will execute the Composer installation:

How to install Composer on shared servers

To run composer commands use:
php composer.phar

How to install Composer on shared servers

In case you get a notification Some settings on your machine make Composer unable to work properly, make sure that the PHP version is 5.5 or higher and all the changes in the php.ini file are saved.

 

ByJUJU-dev

How to Connect to cPanel on Mobile Devices

How to Connect to cPanel on Mobile Devices

The cPanel app allows you to connect to your cPanel and WHM accounts on-the-go using your mobile device.

Its main features are:

  • Access to the three core cPanel services (WHM, cPanel, and WebMail)
  • Fingerprint, passcode, or pattern login to verify your identity
  • Mobile-optimized interface to let you perform hosting tasks
  • Management of multiple connections

The cPanel app is available from the Google Play Store and iOS App Store.
For the purposes of this article, we’ll describe the cPanel App for Android. The steps are the same for both systems, though the interfaces may look slightly different.

To connect with the app, you will need:

  • The cPanel/WHM username and password included in Your Hosting Welcome Guide. If you don’t have those details or don’t remember your cPanel/WHM password, a member of our Support Teamwould be happy to resend the email or help you reset your password
  • Server hostname – the name of the server on which your hosting account is located. This can be obtained either in Your Hosting Welcome Guide in the Hosting package details section or via cPanel >> Server information.

To install the app:

1. Go to the Google Play Store on your Android device, search for cPanel, and click Install:
2. Once installed, open the app. Click on the Plus button to add a new account:

3. Enter the connection details as follows:

Server information:

  • Name: any name you chose
  • Addressserver hostname (or the domain name, if it is pointing to the hosting account)
  • Service: select cPanel or WHM

Authentication:

  • Username: your cPanel/WHM username
  • Password: your cPanel/WHM password
  • EasyLogin: This allows you to use either password, PIN-code, pattern, or a fingerprint instead of your username and password for faster login.
4. Once you fill in all the details, tap Connect.

5. After the connection is established, you will be taken to the main cPanel/WHM dashboard:

 

To log into the cPanel/WHM account you added earlier, open the cPanel app and select the account name. Log in with the login method (PIN, pattern, etc.) set for the account.

From the app’s main window, you can also modify the account settings by pressing the three horizontal dots:
That’s it!
ByJUJU-dev

How to change contact information in cPanel

How to change contact information in cPanel

cPanel has its own settings regarding a user’s contact information and user notification.

By default, the email associated with cPanel is the one that was used with the cPanel account creation. If you have a Shared Hosting account, that means it will use the email associated with your JujuHost account. However, it’s possible to change the cPanel contact email at any time.

The contact email address of cPanel is used for:

  • cPanel password reset requests
  • cPanel password change notifications
  • cPanel security notifications
  • SSL certificate’s expiration notifications
  • cPanel resources limit warnings
  • new cPanel logins notifications
  • two-factor authentication settings

It’s also possible to have two contact email addresses for one cPanel at the same time.

Below you can find the steps on how to change the Contact Email address for cPanel.

 

For cPanel Basic Theme:

    1. Log in to your cPanel.
    2. Locate the “Preferences” section. By default, it is located on the lower side of your cPanel settings.
    3. Select the “Contact Information” menu:

How to change contact information in cPanel

    1. The primary email address can be edited in the top row and a secondary email address can be added in the second row. Both email addresses will be used for the notifications:

How to change contact information in cPanel

    1. This menu allows you to set the notification preferences using check marks.
    2. After editing the contact mailboxes and preferences, click the “Save” button:

How to change contact information in cPanel

  1. Done! cPanel Your contact email has been updated.
 
NOTE: cPanel contact information changes are applied instantly.

For cPanel Retro Theme:

    1. Log in to your cPanel.
    2. Locate the “Preferences” section. By default, it is located on the lower side of your cPanel settings.
    3. Select the “Contact Information” menu:

How to change contact information in cPanel

    1. The primary email address can be edited in the top row and a secondary email address can be added in the second row. Both email addresses will be used for the notifications:

How to change contact information in cPanel

    1. This menu allows you to set the notification preferences using check marks.
    2. After editing the contact mailboxes and preferences, click the “Save” button:

How to change contact information in cPanel

  1. Done! cPanel Your contact email has been updated.
 
NOTE: cPanel contact information changes are applied instantly.