HostOnNet Blog

Category Archives: Apache

Configuring SSL site in Ubuntu Server

Create file Add following content Enable the web site Enable Apache SSL module if not already enabled Restart Apache You can verify SSL module enabled by running Now web site will work with SSL certificate.


Apache Optimization

Configuring SSL site in Ubuntu Server To optimize Apache, you can use perl script available at https://github.com/richardforth/apache2buddy/ Download and run You will see detailed analysis of your Apache web server installation with recommendations.


Windows could not start the Apache2 on Local Computer

Some of the local sites on my pc is not working. When i tried to access, its showing like Unable to connect Firefox can’t establish a connection to the server at hostonnet.co. The site could be temporarily unavailable or too


Redirect yourdomain.com to www.yourdomain.com

By default most sites allow yourdomain.com and www.yourdomain.com It is better to select one of the url you want and stay with it instead of using both URLs for same web site. It is better to use URL with www


Htaccess Tips and Tricks

Block All traffic Create .htaccess file with Allow Only Specific IP Create .htacces with following code If your IP changes, you can use CIDR format to white list IP range of your ISP. Block Specific Browser/Version To block visitors using


How to analyze Apache access logs using Scalp

What is Scalp ?? Scalp! is a log analyzer for the Apache web server that aims to look for security problems. The main idea is to look through huge log files and extract the possible attacks that have been sent


How to install Apache MySQL and PHP on Cent OS 6.6

Following tutorial describes how to install Apache MySQL and PHP on a Cent OS based server. First we need to identify the version of OS using on the server. For that, login to the server as root user and run


Installing NewRelic on CentOS 7 Server

NewRelic is an Application performance monitoring tool. To install it on CentOS LAMP server (PHP), run You need need a NewRelic.com account before you can start monitoring your Application.


How to check which Apache/PHP modules are installed?

Login via SSH to your server to run the following commands. Apache: apachectl -M Sample Output: PHP: php -m Sample Output


How to install an Apache Server on ubuntu

First check if the package is installed or not If you did not get any output, install the package Run below commands Now start the apache service On the service at booting time Check if the web server is running