3. Rent a hosting service
Web sites are run on a server connected to the internet. While we can set our own up, normally we would rent one to save us a lot of effort.
Unless we are expecting a lot of internet traffic to our site, it is much cheaper to buy shared hosting, which means several sites are being hosted on the same physical server. If traffic does significantly increase, the hoster should be able to migrate the site to a dedicated server, at substantial increased cost, but at least services should have minimal disruption.
# | Software | Description |
---|---|---|
1 | Linux | Open source operating system which runs most of the world's web servers |
2 | Apache | Open-source web server software, until recently the most used in the world, currently at over 30% |
3 | MySQL | Open-source database server software. Not used by Smallsite Design, which uses XML files for streamlined portability |
4 | PHP | Programming language interpreter used by almost 80% of sites, and which Smallsite Design is written in |
In addition to this, cPanel is the web server control software that Smallsite Design has been developed upon, though others may well work. The advantage of cPanel is that because so many hosters use it, transferring complete website installations between hosters can be done in hours from a full archive on the source hoster. Several upscale hosters have their own control software, which may make transfers more difficult and upon which Smallsite Design is not tested to work.
The minimum PHP version required is 7.4, though preferably 8.1, and the extensions required – and usually installed and enabled – are:
This site and several others are hosted on A2 hosting (no kickbacks!) and they provided extremely quick transfer from a previous hoster who had really gone downhill, and continue to provide prompt and informative support. The procedure uses screens from them for illustration.
Some extensions, like simplexml, are usually not listed because they are currently inbuilt. If any are not installed, Smallsite Design will not start, but indicate the first one that is not installed.
Other than these pieces of software and extensions, which are all included and kept up to date by the hosting services, Smallsite Design does not use any other third-party software that would require separate updating, which means that other than updating Smallsite Design itself as updates occur, no other software maintenance is required.
Steps△
To buy hosting:
1Open the hoster's home page
by clicking a link to them or searching for their name.
There will be a range of types of hosting. For Smallsite Design sites, shared hosting is the cheapest option and will usually be sufficient for the life of the site.
2Select a shared hosting plan
by clicking on the shared hosting option, looking through the plans, and clicking on the desired one.
3Use your own domain name
by clicking the checkbox for that option.
4Specify the domain name
by performing:
4-1Specify the domain name
by typing in the domain name bought with Rent a domain name.
4-2Confirm the domain
by clicking the button for that purpose, such as the Use this Domain in the example.
5Select options
by:
- a.Selecting how many years to pay up-front, with more years being cheaper, but also increasing the up-front cost.
- b.Selecting the server location that is likely to provide the smallest access time for the most visitors.
- c.Ignoring SSL certificates, as cPanel offers all that is required for free.
- d.Ignoring fixed IP address, as it is not necessary and substantially increases the cost.
- e.Ignoring anything else, either because it is not necessary for Smallsite Design or is an attempt at super-sizing with added cost.