3 solutions for associating a domain name with a WordPress site
Thursday 24 August 2017 • @MagDuWebdesign
Let us guide you step by step to associate your domain name with your WordPress site. In this handy guide, you will learn how to edit your DNS servers or DNS zone according to your needs.
Capture – 3 solutions for associating a domain name with a WordPress site
MDW + WEB.DESIGN
Offer your Web App content editing by Drag & Drop.
Note: The Webdesign Magazine encourages all your talents by offering you a free domain name in .design. 1 year without obligation. A means of payment will nevertheless be requested to avoid spammers. You can remove this payment method after your order in your personal space. No transactions will be debited from your account. Just a free .design for your projects. Use coupon code MAGAZINEDUWEB – click to copy and open the site.
Why edit your servers or DNS zone
If you change registrars, it may be necessary to change DNS servers. Some registrars do not allow you to continue using their servers when you transfer your domain to a competitor. You may also have a dedicated server serving as DNS servers. You will then have to edit your DNS to use your domain name with this dedicated server.
If you want to modify the server hosting your website or mails after a change of host for example, you will need to modify your DNS zone. Once this is upgraded, your domain will point to these new servers.
To associate a domain name with a website, you have 3 possibilities:
Redirecting by changing DNS servers;
The redirection by CNAME input;
A-Record redirection (or type A or A).
Important: If you want to use the email service of your registrar with your domain after modification, you must edit the CNAME or A-Record entry of your DNS zone. if you do not use the email service of your registrar, go for the change of DNS servers.
Definition of DNS
Domain Name System (DNS) allows you to convert a domain name to an IP address. This will allow your requests to reach the target server. The DNS acts as a directory: it converts a domain name into an IP address.
When you first connect to a website, the browser asks the DNS server (the directory) for the IP address of the domain name. It then stores it in memory and redirects all requests to the corresponding IP address, which then allows the display of the website.
Server Differences / DNS Zone
The DNS servers associated with your domain name are first requested by the web browser before passing the hand to the linked DNS zone.
The DNS zone is a file containing different data such as the coordinates of the servers hosting your site or your mails. These coordinates can be in the form of IP address or hostnames.
The different types of entries in a DNS zone
An A-Record type entry matches a hostname to an IP address. For example, one of the type A entries in the domain magazineduwebdesign.com is 126.96.36.199.
A CNAME entry is used to create an alias from a hostname to another hostname. Only a hostname can be specified, not an IP address. For example, the CNAME entry for the www.magazineduwebdesign.com subdomain is magazineduwebdesign.github.io.
How to change DNS servers
This solution is by far the most practical. Enter the new DNS through the interface of your current domain provider. Some web hosts do not allow you to make these changes yourself. It is then necessary to make a request to the support of your host.
Within your client account you can access the DNS administration interface under the name “DNS Management”, “DNS Servers”, “DNS”, “Domain Name Server” or “Name server”.
You typically have 2 DNS fields present. These are those of your current web host.
First, add your new DNS server addresses. In most cases number 2. For example:
Then delete the old DNS fields.
Do not forget to save the changes.
Note 1: Change DNS make inaccessible the additional services provided by your host (e-mail or other). Similarly for subdomains associated with your domain name, they will no longer be usable with DNS redirection.
Note 2: The DNS change does not remove the obligations you have with your old registrar. The latter always provides you with the domain name and all the services associated with it. You must continue to renew your domain name and settle this registrar each year.