Shared Hosting Install

Shared hosting is a type of web hosting service where multiple websites are hosted on a single server. This means that multiple customers' websites are all stored on the same server and share the same resources such as CPU, memory, and storage space.

Shared hosting is a cost-effective solution for small businesses, personal websites, and blogs. It's a great option for those who are just starting out and don't have a lot of traffic or need for advanced features.

Shared hosting providers typically offer a variety of plans that vary in terms of the amount of storage, bandwidth, and email accounts provided. Customers can also expect to receive a control panel, which allows them to manage their website easily, such as installing software, creating email accounts, and managing backups.

It's important to note that shared hosting can have some limitations, such as limited resources and lack of control over the server environment. Also, if one website on the server gets a lot of traffic, it can slow down the performance of other websites on the same server.

First check all server requirements is OK. Read More: https://mediacitydocs.gitbook.io/next-hour/installation-1/installation-on-shared-hosting

In Cpanel -> public_html/ is the web root folder for your NextHour

In Plesk-> htaccess/ is the web root folder for your NextHour

upload nexthour.zip and extract it. In cPanel -> File manager -> settings must check all files visible after that move all files at root folder. Like : public_html/ OR public_html/subdomain.com/

File and folder permissions for cPanel/ Plesk Hosting

In cPanel, you can change the file and folder permissions using the File Manager tool. Here are the steps to change permissions:

  1. Log in to your cPanel account and navigate to the File Manager.

  2. Locate the file or folder for which you want to change the permissions.

  3. Right-click on the file or folder and select "Change Permissions" from the context menu.

  4. In the "Change Permissions" dialog box, you will see a numeric value for the permissions (e.g. 755). You can also use the checkboxes to set the permissions for the owner, group, and others.

  5. Once you have set the desired permissions, click on the "Change Permissions" button to save the changes.

It's important to note that, the permissions can be set in three types : read (r), write (w), and execute (x). The permissions are usually represented in a numerical format, such as 755, where 7 is the permissions for owner, 5 is the permissions for the group, and 5 is the permissions for others.

public_html 775 (public_html folder is root folder in shared hosting)

if using subdomain then Subdomain folder 775

Create MySQL database, add a user to it with full permissions.

To create a MySQL database in cPanel using the database wizard:

  1. Log in to your cPanel account.

  2. In the "Databases" section, click on "MySQL Databases"

  3. In the "New Database" field, enter the name you want to give to your new database and click on "Create Database"

  4. In the "Add a New User" fields, enter a username and password for your new database and click on "Create User". Don't use # in Database Password string.

  5. In the "Add User to a Database" section, select the new user and the new database you just created, then click on "Add"

  6. In the "Manage User Privileges" section, choose the privileges you want to assign to the user for the specific database, then click on "Make Changes". Give user Full Privilege.

  7. Your new MySQL database is now created and ready to use. You can use this new database to store your data and use it for your website or application.

It's important to note that, you should set a strong and unique password for the user and keep it secure, also you should backup your data regularly to prevent data loss

Note: Don't use # in Database Password

Installation steps: https://mediacitydocs.gitbook.io/next-hour/installation-1/installation-steps

Last updated