Author: Rahul

I, Rahul Kumar am the founder and chief editor of TecAdmin.net. I am a Red Hat Certified Engineer (RHCE) and working as an IT professional since 2009..

cPanel and WHM (Web Host Manager) are powerful tools that help manage servers and websites. They work on various ports, each having its own specific purpose. Understanding these ports is crucial for system administrators for efficient server management and troubleshooting. This article presents an in-depth guide to cPanel/WHM ports lists. Understanding Ports In the world of networking, a port is a communication endpoint. Each port is associated with a specific process or service and identified by a number. The port numbers range from 0 to 65535, with ports from 0 to 1023 being known as ‘Well Known Ports’. Ports play…

Read More

Apache HTTP Server, one of the most widely used web servers globally, has the power to handle several clients concurrently. It accomplishes this via various Multi-Processing Modules (MPMs), affecting how Apache responds to network traffic. One such MPM, the Event MPM, is known for its high performance and ability to handle numerous simultaneous connections with minimal memory usage. This article will guide you through the steps required to enable Event MPM in Apache on CentOS/RHEL. Prerequisites Before we start, ensure you have: CentOS/RHEL installed on your server Sudo or root privileges to run administrative commands Apache HTTP server installed Step-by-Step…

Read More

GeoIP database has records of Geographical location based on IP address. Using this database we can search for any IP belonging to which country using the Linux command line. This article will help you to allow SSH or FTP (vsftpd) access based on the user’s country. This example uses TCP wrappers to secure your services. Install GeoIP and GeoIP Database First, install GeoIP binary for Linux and their database based on your operating system. For CentOS and RedHat users GeoIP binary and database are combined in a single package. On CentOS and RedHat: sudo yum install GeoIP On Ubuntu and…

Read More

The Postfix mail server, commonly used in Linux environments, offers robust and efficient solutions for sending emails. However, there might be times when you need to manually intervene in its operation. One such instance is when you have a backlog of emails in the mail queue that are pending delivery. This article will guide you through the steps to flush the Postfix mail queue on a Linux server, allowing those emails to be delivered. Before starting, ensure you have sufficient administrative privileges (usually root) to run the necessary commands. Check the Current Mail Queue Before attempting to flush the queue,…

Read More

Prefork is the Apache default Multi-Processing Module. When you start working as a System administrator, You generally deal with low traffic servers. You don’t need to know about how Apache handles multiple processes at one time. Even I was don’t know all about it. But after some days when you start working with high load servers and you need to optimize Apache. That time its important to know about Multi-Processing Modules in Apache and how it works Apache Prefork Default Configuration Below is the default Prefork Multi-Processing module configuration as below for Apache versions. For Apache 2.4 StartServers 3 MinSpareServers…

Read More
IIS

IIS (Internet Information Services) is the Web server for windows operating system created by Microsoft. This article will help you to how to install or enable IIS server on Microsoft Windows 8 operating system. Install IIS on Windows 8 Follow the below step by step tutorial to install IIS server on Microsoft Windows 8 systems. 1. Open Control Panel on your system and click programs link. 2. Now click on “Turn Windows features on of off” in Programs and Features section. 3. You will get a list of features. Select “Internet Information Services” option and expand it to select other…

Read More
IIS

Internet Information Services (IIS) is a web server that runs on Microsoft Windows operating systems. IIS is a crucial component of many web-based applications, and it is necessary to know how to restart IIS when it malfunctions or needs updates. While restarting IIS can be done through the IIS Manager graphical user interface, it can also be performed using the command line interface. In this article, we will discuss how to restart IIS via the command line. Step 1: Open Command Prompt To access the command line interface, you will need to open the Command Prompt. To do this, click…

Read More
PHP

Looping between two dates in PHP is a common requirement in many web-based applications. It involves iterating through a range of dates between a start and end date. This can be useful for generating reports, analyzing data, and performing other data-driven tasks. In this step-by-step tutorial, we will explore how to loop between two dates in PHP. Step 1: Setting the Start and End Dates The first step in looping between two dates is to define the start and end dates. You can do this using the date_create() function in PHP. For example, to set the start date to January…

Read More

What is .htaccess ? .htaccess (hypertext access) is a useful file for Many of web server to apply settings per directory basis. It allows to override default configuration of Apache server on run time. Using .htaccess we can easily enable or disable any functionality at the run time. .htaccess is a complete file name, It’s not just the extension of file. Be careful while working with .htaccess configuration. Any small mistake may stop your entire site. Most probably we get 500 error with any syntax error in .htaccess file. Uses of .htaccess ? We can use .htaccess to accomplish various…

Read More

When it comes to creating a website, one of the most important things to consider is the user experience. This includes not only the design and functionality of the website but also the structure of the URLs. A clean and simple URL structure can make it easier for users to understand the organization of the website and improve the overall navigation. Additionally, it can also help with search engine optimization (SEO) by making it easier for search engines to crawl and index your pages. The benefits of hiding file extensions: Back-end technology is hidden from end users. But it’s still…

Read More