How to choose a Web host
Host web site is available 24 hours on 24 and provides a number of services associated with the storage and the availability to the public of the Web site: HTTP Server for Reading pages, FTP for file transfer, Mail server, Statistics.
See the dictionnary for the definitions of technical terms.
Types of hosts
Shared hosting
Accounts are shared between websites on a same server. The webmaster has few options about the the server configuration and depend on the services offered by the hosts. Buts it is obviously infinitely easier to use, as the webmaster has just to upload the content of the site to the server.
Dedicated hosting
It's always a provider that provides the hardware and storage, but the customer
has its own server software that he can configure according to his needs.
This type of host is appropriate when you want to host several site or a site
with a very important traffic. It is also possible to have a virtual server
running on a server software associated with a remote server hardware. Hosts
may also furnish of service of maintenance the server software for the webmaster.
Software as Plesk provide a panel to ease to manage the server.
Personal hosting
In this case, there was no recourse to an external provider, it transforms
its own computer to server using specialized software such as Apache, Windows
Server, and so on. A DNS manager integrated into the operating system associate
the domain name to the address of the computer. The computer should operate
permanently and presence of the webmaster is required to handle overloads,
breakdowns...
An ADSL connection is not sufficient in order for a large public and buying
a decent bandwidth is very expensive.
App Engine, AppStream, Azure
This is the pooling dedicated. Google, Microsoft, Amazon, and others offer a platform for hosted its site with complete freedom when the servers, programming languages​​, tools, without having to worry about the material aspects.
Advantages:
- The host provides the resources, we can then create a Web application focusing on the services of the application itself and without having faced annexes such as hosting and traffic.
- The service allows to evolve by adapting resources, including space and traffic volume without it is necessary to restructure the application. Traffic spikes are handled without any problem and anything to change.
- The APIs provide predefined components that you will no longer need to implement, such as user authentication, and better integration with the services provided by Google, such as Maps.
- Several language are supported including Java, PHP.
Disadvantages:
- There is always a risk to rely on an outside service to an online application. The experience of this user whose domain has been disabled by mistake, and who spent days trying to reach someone who can solve its problem, demonstrates it. There is support, but since his account was disabled, it could not be accessed. The PIN number which is required is regularly updated, so we can not write it down.
- Some webmasters have pointed to the conditions of use, they give extended right to Google on the content stored on App Engine. But Matt Cutts pointed out that this license is used primarily to protect Google against all eventualities and not against developers.
Social networks
They are a combination of social network and hosting, an extrapolation from
hosting blog, and are able to provide a space with development tools and promtion
services.
Facebook and Google+ has this service.
Projects
Hosting of programming projects exists at sourceforge.net for
a while, but the new hosting service is much more general and also for non
programmers.
Projects may be hosted on github too. In fact you can host everything you want on GitHub, blogs, Node.js sites, docs, 3D models (they are displayed in 3D) and even maps.
Criteria for choosing a shared hosting
The prices and services offered by hosts differ significantly. The pitfalls
to be avoided, with a bid apparently beneficial, are a lack of services like
PHP, htaccess, statistics, or limitation in traffic or in number of hits per
day.
Disk space is not a problem for now, any host provides space enough even for
a site with big images but not for video storage.
MySQL Database
This helps to manage user accounts, create a dynamic site with data, using a content management system (CMS). Check for the presence of MySQL, the number of bases and the maximum size for them.
The support of the PHP function to send mail may be important if you want to install a CMS. Some free hosts disable it.
Mails address
Hosts can associate management of email addresses with the domain name (Ex: myself@example.com): plus storage, catch-all (redirect of any string associated by @ to the domain) and other features.
Maximum traffic
Expressed in mega byte or gigas is the maximum overall size of files read
or downloaded from the site, including images in the pages. Multiply the
size of the pages including the image by the number of page views to estimate
the required bandwidth.
For a new website, 5 gigas/month is reasonable. The storage of images or
videos require more actually.
Maximum number of hits
The number of hits is not only the number of access to pages, but the number
of requests instead, including every item read on the site to complement
the page: image, database access, and so on.
For a new website, 10000 hits/day is enough.
This limitation is not longer in use.
Htaccess
Possibility to install this file interpreted by the server to handle redirecting.
PHP
PHP is a programming language that works on the server side, even if the code is inserted into HTML pages loaded by the browser. It allows to create page content from the code inserted in the page or from scripts.
Most hosts offer PHP 5, you may have to configure the directory to use
the version 5 of PHP.
SSL
Secured access, useful for transactions in e-commerce.
FTP
File Transfert Protocol is an Internet protocol used to download files, or to send the contents of the site. You can also create spaces on a site accessible to third parties in FTP mode when it is allowed by the host.
Statistics
Most web hosts offer comprehensive statistics with Awstats Software, Webalyzer or others. Infos usually provided are the number of visitors per day, page views per visitor, the original site of the visit, and so on.
Multiple sites and multiple domains
Multiple domains do not means for multiple sites. The host may support multiple domains associated to different sub-directories, and that allows for multiple sites on the same hosting. But the host may also support multiple domains on the hosting only, and that allows only to have several domain pointing on the same content. This will cause dupplicate content problems with search engines if you do not care.
Support
This is the weakness of low cost hosting. A support by forum can solve most problem but is not enough for a serious commercial webiste. The support must be competent and present 24/7 the whole year.
Other criteria
The operating system: Windows or Linux, the server: Apache. The cost. The payment.
Somes hosts
For a shared hosting:
- Bluehost. Do not know where the price is displayed. Free search engine submission is another thing I do not trust.
- Dreamhost. From 10 $ / m.
- Dynadot. Registrar and hosting.
- GoDaddy. Domain and hosting.
- Hostgator. Unlimited sites from $9 / m.
- Westhost. From 4$ / m.
- Hostmonster. All is unlimited.
- Nearly Free Speech. From $ 1 per GB.
For a personal virtual or physical server:
- Amazon S3. Price depending of content stored. Now for static sites.
- App Engine is a free hosting service offered by Google with services and tools for developing web applications more easily. As a first step, the service was provided free of charge on a trial basis to 10000 users with limitations in resources, in space and traffic volume permitted. For example, 5 million page views per month maximum, and to go beyond, you have to pay.
- AppStream is an alternative to App Engine from Amaron. Microsoft has also its platform, Azure.
For a collaborative project:
- GitLab. Starting at $20 for a single programmer, the price increase depending on the number of contributors.
- Github. Free hosting with a paid option for enterprises. Several Scriptol projects, including Advanced Explorer are hosted on GitHub.
The time is at leaving Sourceforge which includes sometimes malwares in archives to download. But there are many alternatives: Gogs.io, Bitbucket.org, Launchpad.net, Savannah.gnu.org, Chiselapp.com, kallithea-scm.org or Rhodecode.com.