Contenu du cours
Build a Code Free Website with WordPress
Build a Code Free Website with WordPress
Preparing Your Environment
Before setting up WordPress, it's important to establish the foundations of the website. This includes choosing a hosting provider, purchasing a domain name, and configuring nameservers to connect them.
What Is Hosting?
Think of hosting as your website's house. It's where all your site's files, images, and databases are stored. Without hosting, your website wouldn't have a place to exist online. Hosting providers rent out space on their servers so your site can be accessed on the internet.
Hosting providers offer server space to store your website and ensure it is accessible on the internet. Different hosting plans come with various storage, speed, and security options, making it important to choose a plan that fits your needs.
What Is Domain Name?
Your domain name is like your home address—it's how people find your website. Instead of sharing a complicated server IP address, you register a unique name like mywebsite.com that directs visitors to your site.
Domain names are registered through domain registrars, such as GoDaddy or Google Domains, and must be renewed periodically.
What Are Nameservers?
Nameservers work like an address directory, telling browsers where to find your website. When someone types yourwebsite.com
, the nameservers direct them to your hosting provider's server where your website is stored. Without nameservers, your domain name wouldn't know where to find your website.
Once hosting and a domain are purchased, the nameservers must be updated to ensure that visitors who type the domain are directed to the hosting provider's server.
Before purchasing hosting, it's essential to ensure that it meets the minimum requirements to run WordPress smoothly.
- PHP 7.4 or higher: the scripting language WordPress runs on;
- MySQL version 8.0 or greater OR MariaDB version 10.5 or greater: the database system that stores your content;
- HTTPS support: ensures secure connections with an SSL certificate;
- At least 1GB RAM and 1 CPU core: needed for smooth performance.
Most modern hosting providers already meet these requirements. To ensure compatibility, it's advisable to contact the hosting provider's support team and confirm that their plans meet WordPress's minimum requirements. For further information, access WordPress Requirements page: https://wordpress.org/about/requirements/
A domain name is your website's unique address on the internet. In this guide, a domain will be purchased through GoDaddy, one of the most popular domain registrars.
Steps to Purchase a Domain on GoDaddy
- Visit GoDaddy at www.godaddy.com;
- Use the search bar to find an available domain name;
- Choose the registration period (1, 2, or 3 years). After this period, you will need to renew the domain to continue using it;
- Click "Add to Cart" and proceed to checkout;
- Complete the purchase and access your domain settings;
- Go to Domain → Manage DNS → Nameservers: this page will be revisited later to configure the nameservers.
For further information, access GoDaddy Domain Registration page: https://www.godaddy.com/domains.
To make a website live, hosting is required. This tutorial uses HostGator, though alternatives include Bluehost, SiteGround, and DreamHost.
Steps to purchase a hosting plan on HostGator
- Visit HostGator at www.hostgator.com;
- Go to Hosting → Web Hosting and review the available plans;
- Select the Hatchling Plan, which meets the minimum WordPress requirements;
- Click "Choose Plan", then review the checkout page;
- Remove any additional services or products that are pre-selected. These extras are optional and can be added later if needed;
- Complete the payment process and log in to your hosting dashboard to manage your new hosting account.
HostGator hosting plans: https://www.hostgator.com/web-hosting.
Once hosting and a domain have been purchased, updating the nameservers is required to link them. Steps to Update Nameservers Domain in GoDaddy Find your nameservers in HostGator:
- Log into HostGator at www.hostgator.com/my-account/login;
- Go to Hosting Dashboard → Settings → DNS Records;
- Copy the Primary and Secondary Nameservers.
HostGator Nameservers guide: https://www.hostgator.com/help/article/what-are-my-name-servers
Update Nameservers in GoDaddy:
- Log into GoDaddy and go to My Domains;
- Select your purchased domain and click DNS → Nameservers → Change Nameservers;
- Replace the existing nameservers with the ones copied from HostGator;
- Click "Save Changes" and wait for nameserver propagation (can take up to 24 hours).
GoDaddy DNS management: https://www.godaddy.com/help/edit-my-domain-nameservers-664
Merci pour vos commentaires !