Web hosting Category



Boost your nginx web server performance by rewriting favicon.ico requests correctly

2 Comments »

Popular sites receive high concurrent web visitor requests and some clients send bad favicon.ico fetch requests. If you are running nginx you probably didn’t notice that, for example: /category/favicon.ico generate significant 404 errors in your server error log file, because this file is located only in root, e.g. /favicon.ico.

Every request for non-existent file takes some load and every 404 missing file error is usually logged into error_log file, unless you have disabled error logging. To forward all non-root favicon.ico requests to /favicon.ico you can set-up the following rewrite rule in nginx.conf file in the correct server{} location:… Read the rest of this entry »


10TB dedicated servers

3 Comments »

Remember the time when 50GB monthly traffic for a dedicated server was so much bandwidth. Nowadays, 1000GB, 3000GB or even higher traffic monthly limits are common, but there are quite a few dedicated server companies lately offering 10TB (10000GB) monthly traffic limit. This is quite a huge monthly limit and 99%+ web sites will never attract this traffic (sorry, but I had to say this). The pricing is quite attractive and there are companies that advertise 10TB server pricing for less than 100$ a month (doesn’t sound that you really get 10TB for this price, hopefully you do).

Anyway, if … Read the rest of this entry »


Nginx worker_processes configuration and recommendations

No Comments »

From the many posts around the Internet and our own experience worker_processes value is recommended to be set to the number of cores your server has.
For example, if you have two dual core CPU you should set worker_processes 4;

Original worker_processes help from Nginx page:

worker_processes 4;

nginx has the ability to use more than one worker process for several reasons:

1. to use SMP
2. to decrease latency when workers blockend on disk I/O
3. to limit number of connections per process when select()/poll() is used

The worker_processes and worker_connections from the event sections allows you to calculate

Read the rest of this entry »

Load balancing with Nginx

1 Comment »

Are you looking forward to balance HTTP or HTTPS traffic to multiple back-end servers? Nginx is one of the best choices – it’s very lightweight, requires less resources and it’s completely free.

You need to compile the nginx (there are many resources and howto’s) and add the following lines to your nginx.conf file:

upstream webcluster {
server 10.10.10.1;
server 10.10.10.2
server 10.10.10.3;
}

location / {
proxy_pass http://webcluster;
break;
}

Where 10.10.10.1, 10.10.10.2, 10.10.10.3 are the back-end web servers located in internal network defined in upstream settings above. The location / specifies that all URLs should be balanced to back-end … Read the rest of this entry »


Increase uptime and reliability for your website or large blog using CDN

No Comments »

Many popular websites and blogs have some serious problems with uptime and reliable hosting. Some hosting services are just, plainly put, bad yet others simply suffer from issues with bandwidth and reliability. Using a Content Delivery Network can definitely help with uptime, as well as decrease the load on your shared hosting account or dedicated host. You can increase download speeds from your site using a Content Delivery Network.

Using a Content Delivery Network to store and deliver much of your static content to the user is one of the easiest ways to decrease your server load, and increase server … Read the rest of this entry »


How does the domain transfer works

No Comments »

If you want to sell your business, you should quickly learn how the domain transfer works. If you are not sure on the domain transfer, when you think of selling domain names, you have to follow the process of domain transfer carefully. You should have all the details handy with you, such as Your Name, email, Phone Number, Address etc.. As the entire process involves easy steps, there is no need to worry. First of all you have to long into the domain transfer account. After going to domain names, you can select my domain names. After clicking the domain … Read the rest of this entry »


Installing high-performance Nginx for first time

3 Comments »

I have been somewhat lazy nowadays (hey it’s a summer!), but I thought I need to post a quick guide about installing high performance Nginx daemon. It’s a super fast web serving daemon that is the best choice for static content serving at very high speeds. It requires small hardware resources and places very small load on the hardware.

Download the latest stable version 0.7.61 or fetch a newer version from nginx.net.

Installing nginx:
(depending on the required modules, I prefer to disable all modules that are not needed, for example if you do not wish to host SSL … Read the rest of this entry »


Cpanel multiple domain name hosting using add on domains

No Comments »

Cpanel offers multiple domain name add-on under one shared hosting account, the only problem is that it must be enabled by default by the server administrator and all add-on domains will be located in under your main account web folder.

For example you have a web site www.domain.com and you set-up the www.domain2.com as an add-on domain you get the following structure of the directories

Domain.com main folder:
www.domain.com/www/

Domain2.com main folder:
www.domain.com/www/domain2/

so as you see domain2.com will be placed under your main account, so everyone will be able to access domain2.com content as

www.domain.com/domain2/

You can set-up .htaccess … Read the rest of this entry »


Cpanel control panel review and quick tips

No Comments »

A control panel is tied with an operating system to maintain and check the controls and settings of it. The major functions performed by control panel are controling of web hosting accounts, account features, disk space, traffic, POP3/IMAP settings, disk partitions, software, network connections, date, time and other options. It also is used for managing multiple user accounts of a single system, adding or removing software applications, security and packet filter rules etc.

CPanel is also a control panel designed for managing and administrating the websites. The cPanel is designed to run on Linux based operating systems such as the … Read the rest of this entry »


Cpanel or DirectAdmin

No Comments »

My personal choice is Cpanel – it’s somehow more friendly for me and has a lot of more features. However, DirectAdmin requires less resources from my own experience. Anyway, I will stick with Cpanel – I have used it for years and it does a nice job with hosting small web sites. For large site, blog or forum hosting the clear choice is LAMP.… Read the rest of this entry »