Configure a domain name
This guide explains how to point your domain name to your YorkHost web hosting with cPanel.
Prerequisites
- A domain name purchased from a registrar (OVH, Cloudflare, Namecheap, etc.)
- An active YorkHost web hosting (cPanel)
Option 1: Use YorkHost nameservers (recommended)
The simplest method is to use our DNS servers directly. This allows YorkHost to automatically manage your DNS records.
Steps
- Log in to your registrar's panel (where you purchased your domain)
- Find the Nameservers section
- Replace the current nameservers with:
| Nameserver |
|---|
ns1.yorkhost.fr |
ns2.yorkhost.fr |
- Save the changes
- Wait for DNS propagation (can take up to 48 hours)
By using our nameservers, DNS configuration is automatically managed from cPanel. You don't need to manually create A, MX, or other records.
Option 2: Manually create an A record
If you prefer to keep your current nameservers (e.g., Cloudflare), you can create an A record pointing to your hosting.
Find your hosting IP
- Log in to your YorkHost client area
- Navigate to your cPanel hosting
- Your server's IP address is displayed in your hosting information
Your hosting IP address is only visible from your client area or cPanel. It is not publicly shared.
Configure DNS records
Go to your registrar and create the following records:
| Type | Name | Value | TTL |
|---|---|---|---|
| A | @ | Your hosting IP | 3600 |
| A | www | Your hosting IP | 3600 |
Replace Your hosting IP with the actual IP address shown in your client area / cPanel.
Add the domain in cPanel
- Log in to cPanel via your client area
- In the Domains section, click Domains
- Click Create a New Domain
- Enter your domain name
- Click Submit
Verification
After DNS propagation, verify that your domain points correctly:
nslookup yourdomain.com
Or use an online tool like DNS Checker.
DNS propagation can take from a few minutes to 48 hours. Be patient if your domain doesn't work immediately.