A web host rents space on a server, a computer permanently connected to the internet, on which the files of a website are kept and from which they are sent to visitors. Hosting ranges from free pages to dedicated machines. A small business site needs little, but the choice affects speed, reliability, security and the ease of moving later.
Types of hosting
- Shared hosting: many sites on one server, sharing its processor, memory and connection. It is the lowest-cost paid form and is adequate for most small sites. A busy or compromised neighbour can affect the others.
- Virtual private server: a server divided into isolated compartments, each with guaranteed resources and its own operating system. It offers more power and control, and needs more knowledge.
- Dedicated server: a whole machine for one customer. It is justified by heavy traffic, demanding applications or particular security requirements.
- Cloud hosting: resources drawn from many machines, increased or reduced on demand and charged by use.
- Managed hosting: the provider maintains the server and often the content management system as well, with updates, backups and security included.
- Website builders include hosting within the subscription; see ways of building a website.
Free hosting
Free services exist, some of good quality for simple static sites. Others carry the provider's advertisements, impose a web address under the provider's name, limit space and traffic, and give no support or guarantee of continuity. They suit learning and hobby pages. A business site belongs on a paid plan, at its own domain name.
What to compare
- Uptime: the proportion of time the service is available, with any guarantee and its remedy.
- Speed: solid-state storage, current software and servers located near the visitors.
- Storage: space for files, databases and email. Text takes little; images and video take most.
- Bandwidth or data transfer: the amount of data served each month. "Unlimited" plans are subject to fair-use terms.
- Support: hours, channels and the quality of answers, tested with a question before buying.
- Backups: how often, how long kept, and whether restoring is included.
- Security: free secure certificates, firewalls, malware scanning and isolation between accounts.
- Software: the versions of scripting languages and databases offered, and one-click installation of the chosen content management system.
- Email: mailboxes at the domain, their size and spam filtering; many businesses use a separate email service.
- Control panel: for managing files, databases, email and domains.
- Room to grow: an easy move to a larger plan.
- Location of data: servers in the United Kingdom or in countries with adequate data protection simplify compliance.
- Price on renewal, which is often far higher than the introductory rate, and the terms for leaving.
Operating systems
Most web servers run a Unix-like system, generally Linux; some run Windows. The visitor's own computer is irrelevant to the choice. What matters is the software the site needs: the common open-source content management systems and scripting languages run on Linux hosting, while applications built on Microsoft's server technologies require Windows hosting.
Databases
A database stores information in tables that can be searched and updated. Content management systems, shops, booking systems and forums keep their pages, products and users in one, and the hosting plan must provide it. A site of fixed pages written by hand needs none.
Sharing a server
- On shared hosting the numerical address is usually shared too, which is of no practical consequence for most sites.
- Limits on processor time and memory apply to each account; a site that exceeds them is slowed or suspended.
- Good hosts isolate accounts from one another, so that a breach of one does not expose the rest.
Reliability
- Redundancy means duplicated components, such as power supplies, disks, network links and whole servers, so that the failure of one does not stop the service.
- Failover is the automatic switch to the spare when a component fails.
- Data centres add backup generators, cooling and several network connections.
- No host is immune from failure: independent backups remain the owner's responsibility; see website backups and security.
Managing a server oneself
An unmanaged virtual or dedicated server leaves the customer to install software, apply security updates, configure the firewall, monitor the machine and repair faults. It costs less and demands skill and regular time. A neglected server is soon compromised. Those without the knowledge choose managed hosting.
Choosing
- The needs are listed: kind of site, expected visitors, email, shop.
- Three or four hosts are compared on the points above, using independent reviews and other owners' experience.
- The smallest suitable plan is taken, on a short term at first.
- The domain name is registered in the business's own name, preferably with a separate registrar; see domain names.
- Backups are set up from the first day.
Warning signs
- No address or company details on the host's site.
- Support that does not answer before the sale.
- Long contracts required in advance, with no refund.
- Charges for releasing a domain name or the site's files.
A host that proves unsatisfactory can be left; the procedure is described under moving a website to a new host.