Hosting glossary
What is a database?
A database is a structured collection of data. Learn how relational databases and SQL work, and what MySQL, PostgreSQL and SQLite are.
· Mateo Cardenas
You build a website by planning what it will say and look like, getting a domain name and hosting, creating the site by hand or with WordPress, uploading it to your host, and switching on HTTPS.1, 2, 3, 4, 5, 6, sources 1, 2, 3, 4, 5 and 6
A website can do basically anything, but for a first try you should keep things simple.1, source 1 A simple first webpage can have a heading, an image and a few paragraphs.1, source 1 One question to answer when planning a site is what your website is about.1, source 1 Planning also means deciding what information you present on the subject: write a title and a few paragraphs and think of an image you would like to show on your page.1, source 1
You also decide what the site looks like in simple high-level terms, such as the background color and what kind of font is appropriate.1, source 1 A color picker can show the color you pick as a six-character code like #660066.1, source 1 You can sketch out roughly how you want your site to look with pen and paper.1, source 1
Fonts that are not generally available on devices must be included with your website files or referenced from a third-party font service, so the browser can download them as needed.1, source 1 Many fonts are protected by licenses, so you cannot necessarily use them freely on commercial websites.1, source 1 Most images on the web are copyrighted.1, source 1 Google's license filter can reduce the likelihood of violating copyright when you search for an image.1, source 1
There are many ways to publish a website, which makes publishing a complex topic.3, source 3 To have more control over content and website appearance, most professionals and businesses choose to buy web hosting and a domain name.3, source 3 Free services such as Neocities, Google Sites and WordPress are available.3, source 3 Free services can be limited in scope, but they are good enough for initial experiments.3, source 3
Web-based IDEs let you write HTML, CSS and JavaScript, which is then rendered and displayed in an output pane.3, source 3 Web-based IDEs have limited features and often do not provide hosting space for assets such as images.3, source 3
GitHub Pages is a GitHub feature that exposes website code live on the web.3, source 3 Netlify is a web hosting platform that provides hosting for static websites directly from a GitHub repository.3, source 3 Online publishing tools such as GitHub Pages and Netlify are generally free with a limited feature set.3, source 3
WordPress can be used to create a blog, a website, or a site that includes both.5, source 5 DreamHost's Web Hosting plans come with Liftoff, a website builder that turns your answers to a few questions into a WordPress site you can edit.7, source 7 IONOS's WordPress hosting plans include an AI Website Builder that creates a customizable WordPress site from your input.8, source 8
Domain names can be registered through many different companies, known as registrars, that compete with one another.2, source 2 ICANN recommends dealing directly with an ICANN-accredited registrar.2, source 2 All registrars have a feature that lets you check whether the domain name you want is available.3, source 3 The registrar you choose asks you to provide various contact and technical information that makes up the registration.2, source 2
Paying to register a domain name is more like leasing it from the registry operator than buying it.2, source 2 Domain names under generic top-level domains (gTLDs) may be registered with ICANN-accredited registrars or their resellers.9, source 9 For these gTLD names, each registrar can offer initial and renewal registrations in one-year increments, provided the maximum remaining unexpired term does not exceed ten years.2, source 2 You can continually renew a domain name registration, before the registration period expires, to maintain control over it.2, source 2
A domain name registration is not the same thing as a website.2, source 2 A domain name is like a street address for postal mail: there must still be a building or post office box at the address to receive letters or packages.2, source 2 You must purchase, find or implement services such as web hosting or email to make your domain name functional and accessible to others.2, source 2 Web hosting is rented file space on a hosting company's web server.3, source 3
You put your website files on the web server, and the web server provides the website content to website visitors.3, source 3 You are not required to sign up for hosting with the company where you registered the domain name, although some registrars offer hosting or include it in a package.2, source 2 Getting web hosting and a domain name from the same company means they may be automatically linked together.3, source 3
When you get hosting and a domain name from separate companies, or want to change your hosting, you need to point the domain name to the correct server so people see your website at that web address.3, source 3 Your hosting provider gives you a public IP address or a subdomain of its own domain, and you configure your DNS records to add an A record or a CNAME record.3, source 3
When you work on a website locally, you should keep all the related files for each site in a single folder.10, source 10 It is best to write folder and file names in lowercase with no spaces and with words separated by hyphens.10, source 10 Many computer systems, including most web servers, are case-sensitive.10, source 10 The index.html file generally contains your homepage content, the text and images that people see when they first go to your site.10, source 10
The images folder contains all the images that you use on your site.10, source 10 The styles folder contains the CSS code used to style your content.10, source 10 The scripts folder contains the JavaScript code used to add interactive functionality to your site.10, source 10
To link to a target file in the same folder as the HTML file, just use the filename, for example my-image.jpg.10, source 10 To reference a file in a sub-folder, write the folder name in front of the path, plus a forward slash, for example subfolder/my-image.jpg.10, source 10
HTML is a markup language consisting of a series of elements that wrap text content to define its structure and cause it to behave in a certain way.4, source 4 Most HTML elements consist of an opening tag, followed by the element's content, followed by a closing tag.4, source 4 The html element wraps all the content on the entire page and is sometimes known as the root element.4, source 4
The head element is a container for what you want to include on the HTML page that isn't the content you show to the page's viewers.4, source 4 The title element sets the title of your page, which appears in the browser tab the page is loaded in.4, source 4 The body element contains all the content that you want to show to people who visit your page, such as text, images, videos, games or playable audio tracks.4, source 4
The img element embeds an image into the page through its src attribute, which contains the path to the image file.4, source 4 The alt attribute holds descriptive text for people who cannot see the image.4, source 4 Paragraph p elements contain paragraphs of text.4, source 4 A ul element wraps an unordered list, used where the order of the items does not matter.4, source 4
To add a link, you use an a element and give it an href attribute.4, source 4 The href attribute holds a web address, as in <a href="https://www.mozilla.org/en-US/about/manifesto/">.4, source 4 A link can give unexpected results if you omit the https:// or http:// part, called the protocol, at the beginning of the web address.4, source 4
CSS is used to style HTML elements: you select the elements you want to style and set values for their style properties, which define how they will look.11, source 11 A stylesheet saved as styles/style.css is applied with the line <link href="styles/style.css" rel="stylesheet" />, which you paste inside the HTML head, between the <head> and </head> tags.11, source 11 In a CSS rule, the selector p selects all the paragraphs in the HTML.11, source 11 Within a CSS ruleset, a semicolon separates one declaration from the next, and a colon separates the property from its value.11, source 11
The font-family property sets the font or fonts you want to apply to your HTML.11, source 11 All elements inside the html element inherit the same font-size and font-family.11, source 11
Most HTML elements on a page can be thought of as boxes that sit on top of, or alongside, other boxes.11, source 11 In the box model, padding is the space around the content.11, source 11
JavaScript is a full-fledged programming language.12, source 12 Getting comfortable with JavaScript is more challenging than getting comfortable with HTML and CSS.12, source 12 You link a JavaScript file to the page with a script element, such as <script async src="scripts/main.js"></script>.12, source 12 The script line goes on a new line just before the closing head tag.12, source 12
Before installing WordPress, decide whether to install it in the root directory, in a subdirectory, or as a test site to see whether you want to use it.5, source 5 Under most circumstances, installing WordPress is a very simple process that takes less than five minutes.13, source 13 Many web hosts offer tools that install WordPress for you automatically.13, source 13 When you compare WordPress hosts, check whether each one offers such a tool.
For a manual install, you download and unzip the WordPress package if you haven't already.13, source 13 You also need a database for WordPress on your web server, plus a MySQL (or MariaDB) user who has all privileges for accessing and modifying it.13, source 13 With a hosting provider, you may already have a WordPress database set up for you, or there may be an automated setup solution to create one.13, source 13
Renaming wp-config-sample.php to wp-config.php is optional, because the install program will create the wp-config.php file for you.13, source 13 To put WordPress in the root of your domain, you move or upload all contents of the unzipped WordPress directory, excluding the WordPress directory itself, into the root directory of your web server.13, source 13
You run the install script by visiting wp-admin/install.php on your domain when you have placed the WordPress files in the root directory.13, source 13 The install screen asks for your site title, your desired user name, a password entered twice, and your email address.13, source 13 On the install screen, leaving the search engine check box unchecked makes the site visible to everyone, including search engines, and checking it blocks search engines but allows normal visitors.13, source 13
In the WordPress dashboard, you set the site name and other information at Administration > Settings > General.5, source 5 You add About, Contact and other information pages at Administration > Pages > Add New.5, source 5 You change the look and feel of a WordPress site at Administration > Appearance > Themes.5, source 5 Plugins are add-on scripts and programs that add more capabilities, choices and options to your WordPress site.5, source 5
Typical ways to transfer files include an (S)FTP client or rsync, or keeping the site source code in a GitHub repo and granting the hosting company access so it can fetch the source, build it if necessary and publish it.3, source 3 People often choose dedicated (S)FTP clients that display local and remote directories side by side and store server passwords.3, source 3 FileZilla works on all platforms, WinSCP is for Windows, and Cyberduck is for Mac or Windows.3, source 3 Your hosting provider generally gives you instructions for connecting via FTP.3, source 3
For static files, the default location on the server is usually Public/htdocs.3, source 3 With an (S)FTP client you generally drag and drop your local site files onto the remote FTP view to put them in the right place.3, source 3 Rsync is seen as a more advanced tool than (S)FTP because it is typically used on the command line.3, source 3
After a short while, GitHub shows a message saying "Your site is live at" followed by the site address.3, source 3
Let's Encrypt says its certificates can be used by websites to enable secure HTTPS connections.6, source 6 It issues certificates through an automated API based on the ACME protocol.14, source 14 To get a certificate from Let's Encrypt, a piece of software called an ACME client is required.14, source 14
For many people, their hosting provider gets and manages certificates from Let's Encrypt for them.14, source 14 If a hosting provider gets and manages your certificates, it either happens automatically or there is a configuration option that you need to enable.14, source 14
Let's Encrypt is a free, automated and open certificate authority from the nonprofit Internet Security Research Group (ISRG).14, source 14 DreamHost includes free Let's Encrypt SSL/TLS certificates with its hosting plans.15, source 15 Let's Encrypt SSL certificates on DreamHost renew automatically.15, source 15 SiteGround says every site on its web hosting gets a free Let's Encrypt SSL certificate, so each site is on HTTPS out of the box.16, source 16
With certain IONOS products, you get a free Wildcard SSL certificate that you can set up in the IONOS Control Panel.17, source 17 If your hosting provider does not handle certificates, and you can run commands on your server with sufficient privileges, you can select an ACME client and run it yourself to get certificates from Let's Encrypt.14, source 14 Let's Encrypt recommends the Certbot ACME client for most people.14, source 14
No, you are not required to use your registrar for hosting. You can use separate companies and point the domain name to the correct server. Some registrars offer hosting or include it in a package.
No, a registration is not a website. A domain name is comparable to a street address for postal mail, meaning there must still be a building at that address to receive packages. You must find or purchase services like web hosting to make your domain functional.
Yes, free services are available. Neocities, Google Sites and WordPress are examples, and GitHub Pages and Netlify are generally free with a limited feature set. Free services can be limited in scope, but they are good enough for initial experiments.
You transfer your files to a web server. Typical options include an (S)FTP client, rsync, or a GitHub repository that your hosting company can fetch from. GitHub Pages is another route: you create a repository, upload your site files and set it to publish.
It takes less than five minutes under most circumstances. Many web hosts offer tools that install WordPress for you automatically.
Every fact on this page comes from one of these, checked before it goes live.
Hosting glossary
A database is a structured collection of data. Learn how relational databases and SQL work, and what MySQL, PostgreSQL and SQLite are.
· Mateo Cardenas
Hosting glossary
An IP address is a number used to address each device on an IP network. Read about IPv4, IPv6, private blocks, and DHCP allocation mechanisms.
· Mateo Cardenas
Email hosting
Business email hosting is hosted email like Exchange Online, Google Workspace or cPanel email accounts. Learn how MX records, SPF, DKIM and DMARC fit in.
· Mateo Cardenas
Hosting types
Web hosting is the service of keeping a website's files on a connected web server. Learn how servers, domain names and hosting plans work together.
· Mateo Cardenas