The term virtual host refers to running two different sites on the same machine. This allows one server to share the same resources to multiple sites. There are two types of virtual hosting-name based and IP-based. Name-based hosts use multiple hostnames for the same IP address. The main issue with name-based virtual hosting is that it is difficult to host multiple websites running under secure SSL/TLS protocol. Also if DNS is not functioning, there will be some difficulties to access virtually hosted website even if the IP address is known, as the server responds with the default website. To activate name-based virtual hosts, a directive. NameVirtualHost *. * is sufficient to prompt Apache to accept all incoming requests. Apache uses …
Miscellaneous
Application removal in plesk which is not automatically removed after uninstall
First log in to Plesk then check which domain the application isinstalled under Go to “Websites & Domains” and hover over the domain. You should see something like https://localhost:8443/smb/web/settings/id/xxx We want the Last number: xxx (555 for example) Now you will need to login to the psa database: cmd cd “path to your admin mysql\bin directory” Provide the following command in windows command prompt: #cd %plesk_dir%\mysql\bin && mysql.exe -u admin -P8306 psa -p mysql –port=8306 -uroot -pThepassword mysql> use psa; mysql> select id from apsresources where pleskID=555; +——+ | id | +——+ | 101 | | 102 | +——+ mysql> delete from apsresourcesparameters where apsResourceId = 101; Query OK, 2 rows affected (0.02 sec) mysql> delete from apsresourcesparameters where apsResourceId …
Bandwidth throttling is a deliberate technique used to control the amount of data that can be transferred over a network within a specific time period. It is commonly applied by internet service providers, hosting environments, firewalls, and applications to manage network congestion, maintain stability, and ensure fair usage of resources. While throttling is often misunderstood as general website slowness, it is important to distinguish intentional bandwidth limits from performance bottlenecks caused by inefficient code or server overload. What Is Bandwidth Throttling? Bandwidth throttling refers to the intentional limitation of upload or download speeds. This can occur at several levels, including the ISP, data center network, hosting server, or application layer. Throttling is typically implemented to prevent excessive resource consumption, reduce …
Clam AntiVirus (ClamAV) is a free, open-source, cross-platform antivirus toolkit designed to detect various types of malware, including viruses and trojans. It is widely used on mail servers for scanning incoming emails and is compatible with multiple operating systems such as Linux, BSD, macOS, Solaris, and more. In this guide, we’ll walk through how to install ClamAV and automate virus scanning using cron jobs on a Linux server (tested on Red Hat Enterprise Linux). Step 1: Install ClamAV Install ClamAV and required components using the package manager: Start the ClamAV daemon: This setup also enables automatic virus definition updates using freshclam. Step 2: Create a Daily Cron Job for Scanning To automate scanning, create a script inside the cron daily …
How to fix – Error: Account Creation Status: failed,mysql user with the name already exists
While restoring a cPanel account from one server to another server there is a chance for following error: Account Creation Status: failed (Sorry, a mysql user (let’s take ‘dbuser’) with the name already exists To Delete the user : Please login into the mysql and follow the steps mysql mysql > use mysql; mysql > drop user dbuser@localhost; OR mysql> delete from mysql.user where user=dbuser; You can also check this using : select User, Host from user where User like dbuser; Where dbuser is the user mentioned in the error. If the above mentioned steps do not fix the issue,please follow the below steps. Please check for entries of that usernames in the following files and if there is any, …
Network Monitoring witn Ntop
There are various types of network problems that occur in an organization,which results in inaccessible devices,performance degradation, etc.These can be classified as: Network Hardware failure : Includes faulty devices like switches,Ethernet cards,improper cabling etc. Network configuration problems : Includes issues related to improper configuration of protocols Malicious code : Includes issues as a result of the presence of worms/viruses on the network In order to troubleshoot network problems from scratch you need to start checking by hardware – ie,physically check network cabling,network cables crossovers over electric cables,quality of switches routers etc. If the problem lies in the hardware this method of tracking is reasonably straightforward.
SNI ( Server Name Identification) allows you to host multiple SSL certificates on a single IP address. Although, hosting several sites on a single virtual private server is possible with the use of virtual hosts, providing separate SSL certificates for each site traditionally required separate IP addresses. The process has now been simplified through the use of Server Name Indication (SNI), which sends a site visitor the certificate that matches the requested server name. Requirements 1. Domain names should be registered in order to serve the certificates by SNI. 2. Root Privileges to the server. 3. Apache should already be installed and running
A completely frozen Linux system can be frustrating. The mouse cursor does not move. Keyboard shortcuts like Ctrl + Alt + F1 or Ctrl + Alt + Backspace do not respond. Even the Num Lock key may stop toggling. In such situations, most users force a hard reset. However, a hard reboot can lead to data corruption or filesystem damage. There is a safer way to reboot a locked Linux system using the Magic SysRq key. This method allows you to properly terminate processes, sync disks, and safely reboot the machine to reduce the risk of data loss. What Is the Magic SysRq Key? The Magic SysRq key is a Linux kernel feature that allows you to send low-level commands …
mod_fcgid is a high-performance Apache module designed to improve the execution of CGI applications. It was introduced as a binary-compatible replacement for FastCGI while providing better control over process management and resource usage. Unlike traditional CGI modules such as mod_cgi or mod_cgid, mod_fcgid keeps application processes running in the background, allowing them to handle multiple requests efficiently without restarting for every connection. Why Use mod_fcgid? mod_fcgid offers several advantages: Installing mod_fcgid Step 1: Install Apache Components On Red Hat or CentOS systems, install Apache with the threaded MPM Worker module to reduce memory consumption: Step 2: Enable the fcgid Module Enable the Apache fcgid module: Step 3: Install PHP CGI Packages Install PHP CGI and required extensions if they are …
SPDY is a new networking protocol used for speeding up the web. It combines with http protocol with several speed related features that can reduce page load time. It uses stream multiplexing and header compression to improve speed. In order to use SPDY, a web server and a browser that both support SPDY is needed. Google chrome and newer versions of Firefox support SPDY protocol. In Apache HTTPD server mod_spdy module add support to SPDY protocol. SPDY protocol uses HTTPS so site need to serve content over HTTPS in order to benefit from mod_spdy.mod_spdy serves requests like Apache worker MPM. It serves requests using an internal thread pool which interact badly with non-thread-safe Apache modules. In order to server php …