Archive for Shahid Malla

How To Host a website on Ubuntu with Apache2

To host a website on Ubuntu with Apache2, you can follow these steps: sudo apt-get update sudo apt-get install apache2 sudo ufw app list sudo ufw allow ‘Apache’ sudo nano /etc/apache2/sites-available/example.com.conf Replace “example.com” with your domain name or IP address. <VirtualHost *:80> ServerAdmin webmaster@example.com ServerName example.com ServerAlias www.example.com DocumentRoot /var/www/html/example.com/public_html ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined […]

Continue reading
install Let’s Encrypt SSL on Amazon Linux 2

To install Let’s Encrypt SSL on Amazon Linux 2, you can follow these steps: sudo yum update -y sudo yum install -y mod_ssl python3 python3-pip sudo pip3 install certbot sudo firewall-cmd –zone=public –permanent –add-service=https sudo firewall-cmd –reload sudo certbot certonly –standalone -d your-domain.com sudo nano /etc/httpd/conf.d/your-domain.com.conf <VirtualHost *:80> ServerName your-domain.com Redirect permanent / https://your-domain.com/ </VirtualHost> […]

Continue reading
How To install PHP 8.0 on Amazon Linux 2

you can follow these steps: sudo yum update sudo amazon-linux-extras install epel sudo amazon-linux-extras enable php8.0 sudo yum install php php-devel php-mysqlnd php-opcache php-xml php-mbstring php-json php -v This should display the version of PHP installed on your system. Note: If you encounter any issues during the installation, you can refer to the official documentation […]

Continue reading
Fix cPanel does not support NetworkManager enabled

Installing cPanel on a CentOS-based server can be a useful way to manage and maintain your server and website. However, sometimes you may encounter errors during the installation process. One common error is the “NetworkManager is installed and running” error, which appears when cPanel detects that NetworkManager is enabled on your system. In this tutorial, […]

Continue reading
How To Buy Web Hosting From webhostingkashmir.com

How To Buy Web Hosting From webhostingkashmir.com If you’re looking to buy web hosting from WebHostingKashmir.com, the process is fairly straightforward and can be completed in just a few simple steps. In this article, we’ll outline the process for purchasing web hosting from WebHostingKashmir.com and provide some additional tips and considerations to keep in mind […]

Continue reading
cPanel Server Security – Best Firewall Rules.

cPanel Server Security – Best Firewall Rules. Here is a simple script that you can use as a starting point for a custom firewall on a cPanel server: Copy code This script will block all incoming traffic by default, except for traffic on established and related connections, the loopback interface, and a few specific ports […]

Continue reading
Growth of IT hub in Kashmir

Growing IT hub in Kashmir The IT sector in Kashmir has experienced significant growth in recent years, establishing the region as a hub for software development and other technology-related industries. This growth can be attributed to a number of factors, including the region’s strong tradition of education, particularly in engineering and computer science, and the […]

Continue reading
How To Create Custom WHMCS Module

How To Create Custom WHMCS Module To create a simple custom WHMCS module, you will need to create a folder for your module and add the following files: Here is an example of a basic structure for a WHMCS module: Copy codeyourmodulename/ ├── config.php ├── client.php └── admin.php In the config.php file, you will need […]

Continue reading
How To Start A Blog 2023

How To Start A Blog 2023 Starting a blog can be a great way to share your thoughts, ideas, and expertise with the world. It can also be a lucrative business venture if you’re able to build up a large following and monetize your content through advertising, sponsored content, and affiliate marketing. Here’s a step-by-step […]

Continue reading