Category Archives: eCommerce

How Many Servers Does A Web Hosting Service Need?

How Many Servers Does A Web Hosting Server Need?

How Many Servers Does A Web Hosting Server Need?

Web Hosting customers don’t always realize what goes on behind the scenes of their web hosting service. The layman often thinks that the web hosting service is just another software installed on a monster computer, bit of which are sold to the end user. But there’s a lot more that goes on behind setting up a web hosting service. While some hosts use separate machines to run services like email, FTP, HTTP etc., some hosts install all these services on a single machine. This article takes you into the web hosting world and shows you which software servers are running to give you the best web hosting experience with different services.

Web Server

The web server is one of the most important parts of your web hosting service. The web server is what actually delivers your web page to the user’s browser. It also handles different requests for information that your browser makes and also takes care of incorrect or erroneous requests. When you see 404 error pages or warning messages, these are all served up by the web server. Web hosts commonly use IIS, Apache, Nginx and Tomcat amongst many different web servers. Web servers use the HTTP protocol to communicate with the user’s browser. The administrator also has the capability of restricting folders, files and websites through the web server configuration.

Mail Server

The mail server is essential when providing email service. The mail server allows the sending and receiving of email on specific ports. The mail server helps filter the received mail to different users’ folders and thereby allows multiple domains to be hosted on a single physical machine. Mail servers are also capable of redirecting mail and applying conditional filters to weed out unwanted mail and fight spam. Most mail servers allow the use of third party plugins or software to aid them perform their functions. For example mail servers can intelligently use third party RBLs or black lists to identify if a mail sender is actually a source of spam which should be rejected before he can reach the mail server. Mail servers usually use IMAP, SMTP and POP3 protocols to serve their purpose.

FTP Server

Almost every web host offers FTP services to transfer files. But most users don’t realize that this requires an FTP server at the hosts end. An FTP server allows connections using the FTP protocol, for the transfer of files. This aids users in downloading or uploading files in simple, quick and efficient way. FTP servers control the bandwidth usage, user connections, authentication system and even file management for the user. FTP servers are inexpensive to maintain and are now considered as included in any web hosting package.

SQL Server

An SQL server is a database management server which allows users to create and store data in relational tables, using the Structured Query Language or SQL. On windows machines, Microsoft MS SQL is installed, whereas Unix based hosting systems usually come with open source alternatives like MySQL, Postgresql, MariaDB among others. Web hosts sell databases based on the package that the user takes. Each database requires CPU and memory resources to function properly. Databases form up the backbone of most websites which have a Content Management System or which store a large amount of data.

Others

Some web hosts offer their own DNS service, for which they need to run a DNS Server on their systems. The DNS server just maps the domain name to the servers IP address so that when a visitor is using a service on a website, he is served up the right information from the right source. Premium web hosts offer File Sharing services and have a Web DAV Server either separate or integrated into their Web Server (as above). This allows users to quickly sync files to and from their website onto their mobile devices. Almost all web hosts also provide an SSH service so that users can connect securely to different ports for different services on the account.

While web hosting may seem like an easy business, managing all these services can be quite a task, which web hosts need to do on a daily basis.

When Do We Need MySQL Databases With Our Web Hosting?

Whenever you buy web hosting, your hosting provider is sure to include an option called “Databases” in his price quotation or package details. But not many of us know what are databases and why we need them when setting up a website. This article aims to explain a couple of reasons why we use databases and when we need them for our website.

The database systems we usually get with our web hosting accounts are all relational database systems or RDBMS. If we take a Windows hosting server we usually get Microsoft SQL aka MSSQL and if we take a Unix based system we usually get MySQL. Both these systems put your website data into tabular layouts for fast and easy retrieval.

Databases are a collection of rows and columns, where each row or column is related to the others in some way. Due to this relation, information from this database can be retrieved quickly and efficiently as compared to if the data was stored in any other unstructured format. You can consider a database as a collection of multiple spreadsheets which are all related to each other in some way or the other.

Security

A major advantage of having your data stored in a database is the ability to protect the database from unauthorized access, or the ability to protect a database record from being tampered with. A simple example would be the storage of login credentials. In a simple way, login credentials can be stored in a simple text file and be read by your script which does the authentication. However, your file will always save the password stored in plan text, making it vulnerable to anyone who has access to it. Databases have the ability to encrypt the entries using a hashing algorithm to obscure them. Further, to read or write to the database, you need to specify login details, something which is not easily possible with an ordinary text file or spreadsheet.

Efficiency

Due to the manner in which data is stored in the database, retrieval and storage is most efficient. Unlike a spreadsheet, where anything and everything can be stored in any cell, SQL restricts the type of information stored in each row or column based on certain conditions. This validation is inherent in the properties of SQL and is an added advantage for a programmer or developer. Due to the various inbuilt mechanisms that are present in RDBMS systems, they are the most preferred method of storage and retrieval of data.

An article on the DatabaseJournal Blog explains this in a lucid way:

“…The problem with text files is during a read, if the text file is large, it can take quite a bite of time to open and scan the contents of the file looking for what we want. Also, if we wanted to see all the sales to a specific customer, the entire text file would have to be read, and every line occurrence of the customer name would need to be saved in some temporary place until we had them all. If we saved to a spreadsheet instead of a text file, we would have a Sort feature built in. So we may be able to find all the sales to a specific customer quicker, but again, if the file was large, opening the spreadsheet could take a great deal of time.”

Administrative Control

Database systems also have various control mechanisms which allow easy administration of the database and tables within it. The most important part is user management. Each user can be given specific rights to the database, thereby allowing limitation in access so as to secure the data from being tampered, modified or altered. Database Administrator’s can tweak many settings of the database thereby restricting the flow of data, the connection speeds, maximum number of connections to the server and even adjust what hardware resources should be allocated for performing a task.

Taking a backup of your website in cPanel Paper Lantern

We all should regularly take backups of our website, whether we like it or not. A backup is like a flashlight, you never know when you may need it. You may never need it or may need it once in 365 days. But if you do need it and don’t have it, you will regret it.

1. Login to your cPanel account (For more see this article)

2. Select the Backup option in cPanel

3. Under the Partial Backups option, you can choose which parts of your website to backup.

The Home Directory option will allow you to backup all files in your account, except for the MySQL databases and the cpanel account configuration. This option will download a .tar.gz file i.e. a compressed tarball which contains the entire folder structure and files inside your hosting account.

The Database Backup will allow you to download a backup file for each individual database. The file format for the database backup is dbname.sql.gz i.e. it is a compressed file, which contains a .sql file of the database.

You can also download domain wise email forwarders, in .gz format by clicking on the Email Forwarder option.

 

Do note: If your internet connection is interrupted or there is some download issue, your downloaded file may be incomplete or corrupt. Always verify downloaded backups before relying on them.

Tips To Prevent Failed Backups Of Your Website

Tips To Prevent Failed Backups Of Your Website

Tips To Prevent Failed Backups Of Your Website

Most of us keep regular backups of all our important data, especially which is on the internet. Websites should also be backed up regularly as a safety measure in case of a disaster and also as a version tracking mechanism. This ensures that in the event of our website being hacked or becoming corrupt, we can quickly restore it to a prior version. Most of us have automatic mechanisms to take a backup. But little do we realise that taking a backup doesnt really end there. We need to ensure that it is a workable backup and not a dummy file which has not value. This article explains how we can prevent backup file failures and how to ensure that our website backup will be of use when we need it.

Elements

An important aspect of taking backups is not to forget any of the elements that make up your account. Your web hosting account has several elements which need to be backed up so that you can restore your entire account. This means that you need to backup things like Email, Website Files, Databases, Configuration Files, Web Statistics, Email Forwarders and any other customizations that you may have done with any of these elements. Hosting Control Panels like cPanel or Plesk may allow you to take backups of these elements separately or compile them into a single compressed file. Forgetting even one part of your account backup may render your website useless. Many people forget to take a backup of their database files since the backend is not something that the users interact with. Similarly, the small configuration files and customizations can also boost the speed and efficiency when you attempt to restore the backup.

Disk Space Shortage

The in-built backup options of your web hosting control panel will usually save your backup in the home directory of your account. This means that the backup will also consume hosting space within your account. If you are on a limited space plan, you should have atleast 50% free disk space before you backup your account. If you do not have enough space, the backup may not complete fully or may get corrupt. This can be disastrous when you are dependent on it and when you want to restore the account. Ensure that you have enough free space so that your backup is not stuck.

Failed Download

One of the most common failure points when taking a backup is the download to your local machine or onto the media you are ultimately backing up on. Very often, when the backup file is being downloaded on the media or machine, the network connection may drop or the process maybe terminated. This may indicate that the file has been downloaded, but actually the file is only partially downloaded. A client of ours who was switching from shared hosting to a dedicated server was taking a backup of his website on his own. He started downloading the backup file from his hosting account. The size of the backup file was about 600 MB. On his internet connection, it indicated that about 8 minutes were left for the download to complete. In between the download process, his internet connection dropped. He noticed that the file transfer had stopped and file was on his hard disk. However, he did not notice the file size and assumed that the entire 600 MB has been downloaded. The backup file was corrupt and had downloaded only 350 MB. Luckily he noticed the mistake and was able to retrieve the backup file. You may not always be so lucky.

Integrity Check with the Checksum

The best way to ensure your backup file’s integrity is using a checksum tool to verify the checksum of the file before and after it is downloaded. Ideally this means that you get a unique hash value of the file from the web server. This unique hash value is tied to the file and is almost impossible to reverse engineer. Then, after you have downloaded the file, retest for the checksum of the downloaded file on your backup media. The checksum of the file should be exactly the same. If the file is corrupt or tampered or has not downloaded properly, the checksum will mismatch and you will get to know easily. This ensures data integrity and provides assurance of a healthy backup file.

 

Buying Web Hosting Space From Your Web Designer? Watch Out

We all love to shirk responsibility and hand over some of our problems for people who are willing to handle them. Buying the right type of web hosting maybe quite an overwhelming process for a not so tech savvy business owner. The task of how muck disk space, how much bandwidth and all the technical jargon involved can get quite taxing to understand. This is a primary reason why web designers are more than happy to bundle a web hosting account along with their designing fees. But there are many ways in which such relationships can get sour if the terms of the bundling are not made clear initially. This article explains what could go wrong if you buy web hosting space from your web designer rather than buying it independently.

Buying Web Hosting Space From Your Web Designer? Watch Out

Buying Web Hosting Space From Your Web Designer? Watch Out

Price

Although you may feel that you’ve got a great package deal on your web hosting along with design fees, you should be aware that web hosting fees are recurring fees and usually payable monthly or annually. Don’t get carried away with the waiver of fees for the first year. Some website owners are in for a rude shock when the next year on the renewal anniversary, they receive a huge invoice for renewal of the web hosting account. Design firms are almost always resellers or affiliates of web hosting companies and never a web host themselves. This can be a positive thing as well as a negative thing. Sometimes they may be able to offer you a highly competitive pricing, while some of them may just exploit your ignorance or inability.

Lock In

Taking a package from your website developers may lock you in to their web hosting package as well as their design. More than a physical barrier, it creates a sort of psychological block which prevents you from switching services or choosing a different design for your website. This is precisely the reason why low cost packages are offered and customers are lured to them. Website owners fear that if they shift the design services, then the developers may not be too cooperative and not give them control of the hosting account. Similarly, even if the hosting account has limited features or provides bad service, you may be willing to stick to it if it is bundled with your development package. You should always have control of your hosting account and also have your design source code with you.

Support

If your web designer is knowledgeable, well equipped and efficient, you may get good technical support. Issues related to your website’s hosting will be solved quickly. But if your designers are new to the hosting world, they may not be of much help. Sometimes it maybe helpful to buy the hosting and design from the same company, so that all your services are under one roof. This way there can be no blame game as to which service is deficient, in case of a failure. However, this can also be a disadvantage if you have hired a nascent design firm. They maybe too raw to know the intricacies of hosting and may not be able to keep up with changing technologies or may not be competent to provide the right security or optimization measures. This should not be expected from them either, as designing is their primary business and all other things are side businesses.

Control

If you are taking a package deal, make things clear at the beginning. What happens if you decide to hire the services of another designer? Who keeps the control of the website? On whose name is the domain name and hosting registered? How do you login to control your website files? These are some of the basic questions that you should ask when you are offered such a deal. You don’t want to end up having a disagreement with your web designer, who turns off your website and takes control of your domain name, leaving you high and dry.

Google Hates These Things You Do…

There are a couple of things that Search Engines look at when ranking your website in search results, for various keywords. These include original content, number of links pointing from other website’s to yours, your overall online presence, the quantity of relevant content on your pages. People have tried long and hard to manipulate Google’s search algorithm by trial and error of various methods. The bottom line being that you just can’t fool Google. Although there maybe more than 2000 factors which determine how your site is ranked, there is a sure-shot list

Google Hates These Things You Do...

Google Hates These Things You Do…

of points which Google hates and will punish you if you do those things. This article aims to highlight some key points which you should definitely avoid if you want to be in Google’s good books.

Plagiarized Content

Google hates copy cats. The whole purpose of Google is defeated if it is not able to serve up fresh, genuine and relevant content for a user’s search query. When a person look for something using Google, he is dependent on Google to provide the most accurate websites which will provide the information sought. If Google does not catch the attention of the searcher, he will look for the information elsewhere and Google would have lost out on potential ad revenue in the process. Google says:

“Purely scraped content, even from high-quality sources, may not provide any added value to your users without additional useful services or content provided by your site; it may also constitute copyright infringement in some cases. It’s worthwhile to take the time to create original content that sets your site apart. This will keep your visitors coming back and will provide more useful results for users searching on Google.”

Dummy Websites

To get back links from external websites, webmasters buy many domain names and put up rudimentary content with a link back to the parent website which they want to boost in search results. Google calls these doorway pages and penalizes doorway sites themselves and also websites using doorway pages. Since these websites or pages are “typically large sets of poor-quality pages where each page is optimized for a specific keyword or phrase” they offer no value added benefit to Google users.

“Google frowns on practices that are designed to manipulate search engines and deceive users by directing them to sites other than the one they selected, and that provide content solely for the benefit of search engines. Google may take action on doorway sites and other sites making use of these deceptive practices, including removing these sites from Google’s index.”

People also use such dummy websites to automatically redirect visitors to the real website and mislead the user about where they are being taken. The dummy website will show up on Google Search Results, but the user is ultimately taken to the real website which has nothing to do with the search results.

Paid Links

Paid Links are basically links which are not earned due to quality, but are instead bought from websites which are willing to make a quick buck. This dilutes the quality of content for the search results and leads to irrelevant or misleading information. Google classifies buying or selling links that pass PageRank, excessive link exchanges, large-scale article marketing or guest posting campaigns with keyword-rich anchor text links and even using automated programs or services to create links to your site as Paid Links. These are all liable for being penalized and even removed from Google’s Search system.

Comment Spamming

Google’s Webmaster Support says that “If you’ve ever received a comment that looked like an advertisement or a random link to an unrelated site, then you’ve encountered comment spam.” Comment Spam is visible on many blogs, which have popular content. Spammers post a comment or remark about the article and surreptitiously insert a link with their own brand or promotion in it. Comments are usually in the form of random praise about the article or some obscure sentence related to the article content and sometimes is outright junk text. All these qualify for the penalty by Google.

Why Are Website Templates Preferred Over Custom Web Design?

Why Are Website Templates Preferred Over Custom Web Design?

Why Are Website Templates Preferred Over Custom Web Design?

Template based website systems are overtaking the requirement for a custom made personalized website. Even web designers are constantly finding ways in which to package their products and manufacture them in bulk. But what are the reasons for people buying template based websites and avoiding custom built websites? This articles aims to highlight the major factors which influence the purchase of a template based website design over a customized one.

Turn Around Time

The crux of setting up a new website is having it up and running quickly. The main objective is to put the website out and keep improving it. Most design firms take ages to put out the first version of a website. They have lengthy procedures and sometimes have long and cumbersome processes to be followed before any work can be made live. This often leads to delays and long timelines, which cause disinterest in the client and also demotivate the design team. This is remedied by ready made template based options which allow a certain level of customization to personalize the template for the clients business.

Seeing Is Believing

Just like ready made clothes, templates allow you to see a live working of the website and allow you to preview and simulate the website’s functioning before you actually purchase it. This means that you can see a fully functional sample website with dummy text and images and actually visualize how it would suit your website design. While tailor-made clothes will definitely fit you better, there is always a time-lag and also a risk of the tailor getting it wrong.

Cheaper

A ready made website will definitely work out cheaper than a custom made one, especially due to its re-usability and lack of personal touch. This maybe very crucial for a business which is newly launched and wants to atleast have a placeholder website to show to customers. This is also a crucial factor in determining the long term goal of the website and how you would like to keep evolving your online strategy.

Independence

A very major factor in deciding your design option is whom you are dealing with. Many designers consider themselves to be at par with Picasso and Michelangelo. This means that you may have a tough time in getting them to do things in a time-bound or disciplined way. Almost all design firms that we have dealt with have overshot their promised timeline and taken more than double the time to do the work correctly. While a bit of creativity should be left to the discretion of the design studio, it should also be clearly agreed that time is of essence and that a delay in work can be costly. Some businesses have taken years on end just to get the first glimpse of their website live. By that time their funds were drained and they had lost a considerable amount of revenue from online sources. On the other hand, templates allow you to go to any designer or coder to alter the design. Some websites even offer their own customization service. The bottom line being that your design source is with you and you are not locked into the services of a particular firm of developers.

Customization

Although a template can hardly be tweaked to suit your corporate branding, you can make a lot of changes to make it look more personalized. Just like you can get a ready-made shirt altered to suit your size, you can get a ready website also tweaked and twisted to give it a better look. It may look clumsy and a bit out of place, it may even look very cliche and standard, but for the price it is definitely a good deal.