Quick Answer — Connect a Domain to WordPress
How do you connect a domain to a WordPress website without breaking email or losing search visibility?
Connecting a domain means updating its DNS settings, so browsers know where to find your WordPress site — either by changing nameservers (handing DNS management to your host) or by updating individual records like the A record and CNAME while leaving email-related records untouched. The process is largely the same across providers, though some hosts, like Hostinger, handle much of it through a single dashboard (hPanel) rather than requiring separate DNS edits. The biggest risk is not the connection itself — it is accidentally deleting MX records and breaking business email in the process.
- Before you touch anything: Copy your current MX, SPF, DKIM, and DMARC records if email is active on the domain
- Two methods: Change nameservers (simpler, hands over full control) or update individual DNS records (safer when email is already set up)
- Expect a delay: DNS propagation typically takes 30 minutes to 48 hours
- Easiest route: If your domain and hosting are both with Hostinger, the connection is often automatic
A domain connection is a small technical task with a very visible business result.
If a potential client types your business name into a browser and lands on an error page, an old website, or a confusing temporary address, confidence can disappear before they read a word about your services.
The task is often searched as “connect domain to WordPress”, but the real goal is simpler: make sure your professional web address reliably leads people to the right website.
For a consultant, therapist, local business, or boutique service provider, your domain is part of your reputation.
Here is how to handle the process without creating unnecessary disruption to your website or email.
What does it actually mean to connect a domain to WordPress?
Your domain is your web address, such as yourbusiness.com.
It is registered through a domain registrar.
WordPress is the software used to build and manage your website. Your hosting provider is the server space where a self-hosted WordPress website lives.
These services may be sold by one company or by three different companies.
That is normal.
Connecting the domain means updating its DNS settings, so browsers know where to find your WordPress site.
Which scenario are you in?
- A new domain pointing to a new WordPress website — generally lower risk
- An existing, established domain switching to a new website — needs more care, since you want to preserve email, search visibility, and working links
Before you change any DNS settings
DNS is the directory system behind the web.
A change made in the wrong place can take your website offline temporarily, or interrupt business email.
A few minutes of preparation protects you from that stress.
What should you check first?
- Confirm where the domain is registered — this may be different from the company that hosts your website
- Confirm your WordPress setup — self-hosted with a web host, or built on WordPress — the instructions differ
- Identify what currently uses the domain — the live website, email addresses (hello@yourbusiness.com), any subdomains (booking.yourbusiness.com)
What should you back up before changing anything?
If email is active, copy the current DNS records before making changes.
The most important ones to preserve are usually:
- MX records — direct email to the right mail server
- SPF, DKIM, and DMARC records — help your messages arrive properly and avoid spam folders
If an old website is being replaced, list its important pages too.
Service pages, contact pages, and blog posts that already rank in Google should be redirected to the closest relevant page on the new site — connecting the domain is only one part of a careful launch.
How to connect a domain to WordPress — the general process
Step 1 — Add the domain in your WordPress hosting account
Start in the dashboard of the company hosting your WordPress website.
Look for an option such as Domains, Add Domain, Connected Domains, or Domain Mapping.
Add the domain exactly as you want visitors to use it.
Choose whether the primary version will be www.yourbusiness.com or yourbusiness.com.
Either works — what matters is choosing one and redirecting the other to it, to avoid duplicate versions of your site.
Your host will then provide the DNS details needed to connect the domain.
Copy them directly from the host’s instructions — do not guess.
Step 2 — Choose nameservers or individual DNS records
- Changing nameservers hands DNS management to your hosting provider. Straightforward for a brand-new domain with no active email attached.
- Updating individual DNS records (an A record for the main domain, a CNAME for the www version) keeps DNS management with your registrar. Often safer when you already use professional email, since you can leave email-related records untouched.
For an established service business, preserving email continuity is usually more valuable than saving a few minutes — when in doubt, update individual records rather than switching nameservers wholesale.
Step 3 — Update the DNS where the domain is managed
Log in to the account that manages your domain’s DNS — often your registrar, but not always.
Enter the nameservers or DNS records supplied by your WordPress host.
Do not delete MX records or email authentication records unless your provider specifically instructs you to and you understand the impact.
Save the changes.
DNS updates can begin working quickly, but full propagation can take up to 24 to 48 hours.
Step 4 — Set the WordPress site address and enable SSL
Once the domain starts resolving, log in to WordPress and confirm that the WordPress Address and Site Address use the correct domain and HTTPS version.
Make sure an SSL certificate is active — this gives your site the secure https:// address and browser padlock.
A site without HTTPS can show a security warning, especially damaging when you are asking visitors to complete a contact form or book a consultation.
Test both the www and non-www addresses in a private browser window — they should both land on the same secure version of your homepage.
How to do this specifically in Hostinger’s hPanel
If your domain and hosting are both with Hostinger — the host I use myself and recommend for most client sites — this process is noticeably simpler, because most of it happens inside one dashboard.
If you bought your domain through Hostinger
The connection is usually automatic (or by clicking on a button).
When you create your WordPress site through hPanel → Websites → Add website, a domain already registered with Hostinger is attached without any manual DNS work (either by selecting the domain you just purchased through Hostinger, or by buying and connecting a new domain).
Your site becomes accessible at that domain within a few minutes of WordPress installing.
If your domain was bought elsewhere and you are pointing it to Hostinger hosting
1. Log in to hPanel and go to Siti Web. Find your site in the list — if the domain is not yet connected, you will see a “Domain not connected” message with a “Check guide“ o “Connect domain” link next to it.
2. Find your connection details. Go to Hosting → Manage for your site, and look for either:
- Nameservers — two or more addresses (something like `ns1.dns-parking.com`) you will enter at your registrar, or
- Website IP Address (A record) — a numerical address you will use if you prefer to update DNS records individually rather than switching nameservers entirely
3. Go to your domain registrar (GoDaddy, Namecheap, or wherever the domain is registered) and open its DNS or nameserver management section. Either:
- Replace the existing nameservers with Hostinger’s nameservers, o
- Update the A record for your root domain to point to Hostinger’s IP address, and add a CNAME record for www pointing to your domain
4. Leave MX records and email-related records untouched at this stage, if you already have working email on the domain elsewhere.
5. Save and wait — propagation typically takes 30 minutes to 48 hours.
Setting up email on Hostinger after connecting
If you want to use Hostinger’s own email service for the domain (rather than Google Workspace or another provider), go to hPanel → Email, where you will find the MX records Hostinger needs — these are separate from the website A record and nameserver settings, so setting up Hostinger email does not require redoing the domain connection itself.
Enabling SSL in hPanel
- Go to hPanel → Security → SSL
- Find your domain in the list and click Install
- Wait 1–2 minutes for the certificate to activate
- Once active, your site loads on `https://` — confirm this also matches your WordPress Address e Site Address under Settings → General in your WordPress dashboard
Hostinger generally handles SSL activation automatically once the domain is correctly connected and pointing to your hosting, but it is worth checking this step directly rather than assuming it happened.
Test the connection like a potential client would
A domain is not fully ready because the homepage loads once on your computer.
- Test it from a phone as well as a desktop browser
- Open the contact page, submit a test form, and check that the confirmation email arrives
- If your business uses email at the domain, send a message both to and from that address — a site can appear perfectly healthy while a missing MX record silently prevents new client enquiries from reaching you
- Check your key public pages — services, about, contact, booking, privacy policy — all should load under the new domain without security warnings
- If moving from an old site, test redirects from the old page addresses too
This same instinct — checking the real visitor experience, not just whether a page technically loads — is worth applying generally.
See the mobile-friendly website checklist for a fuller version of this kind of testing.
What are the most common problems when connecting a domain?
- Changing DNS in the wrong account — a domain may be registered with one provider but use nameservers managed by another; verify where the active DNS zone lives before editing anything
- Overwriting email records while changing nameservers — treat MX, SPF, DKIM, and DMARC records as essential infrastructure if your business relies on email for leads and client communication
- “Mixed content” warnings after enabling SSL — usually means some images, scripts, or links still use an old `http://` address; fixable, but address it before launch, since security warnings reduce trust
- Mistaking DNS propagation for a failed connection — repeatedly changing records while propagation is underway creates more confusion; confirm the values once, give the update time, and test from different networks if needed
When is guided support the better choice?
A new domain on a simple website can often be connected in one sitting.
But if you are changing an established business website, moving hosts, keeping domain email active, or protecting pages that already rank in Google, the technical task has wider consequences.
—
Is your domain quietly working against your business?
Your domain should do quiet, dependable work in the background.
Once it is connected correctly, you can put your attention back where it belongs — showing the right clients why they can trust you.
Presso SR Web Marketing, domain setup is treated as part of a larger launch process — siti web WordPress per liberi professionisti e attività locali in Abruzzo, Pescara, Chieti, and remotely across Italy, Spain, and Europe — where hosting, security, redirects, and the visitor experience are considered together, not as an isolated checkbox.
If you would like help connecting your domain correctly, or moving to a more reliable host like Hostinger, contattami per un primo colloquio gratuito..
—
Domande frequenti (FAQ)
How long does it take for a domain to connect to a new WordPress site?
DNS changes can start working within minutes, but full propagation across all networks typically takes 30 minutes to 48 hours. During that window, some visitors may see the new site while others still see the old one briefly — this is normal and does not mean the connection failed.
Will connecting my domain to a new host break my email?
Only if the MX records are changed or deleted without replacement. If you already have working email on the domain, copy your current MX, SPF, DKIM, and DMARC records before making any DNS changes, and update individual records rather than switching nameservers wholesale if you are unsure. This is the single most common cause of broken business email during a domain move.
Is it easier to connect a domain if I buy it through my hosting provider?
Generally, yes. If both the domain and hosting are with the same provider — for example, buying a domain directly through Hostinger’s hPanel — the connection is often automatic, with no manual DNS work required. Buying a domain from a separate registrar and pointing it to a different host requires manually updating nameservers or DNS records.
What is the difference between changing nameservers and updating DNS records?
Changing nameservers hands full DNS management over to your hosting provider — simpler, but it affects every service connected to the domain, including email. Updating individual DNS records (like the A record and CNAME) keeps management with your current registrar and lets you change only what is necessary, leaving email-related records untouched. For a domain with active business email, updating individual records is usually the safer choice.
Do I need an SSL certificate after connecting my domain?
Yes. Without an active SSL certificate, your site will show as insecure (http:// instead of https://), which triggers a browser warning for visitors — particularly damaging on a contact or booking page. Most managed hosts, including Hostinger, offer free SSL that can be activated in a couple of minutes once the domain is correctly connected, under the host’s Security or SSL settings.
![]() | Sergio Stanga WordPress Web Designer & SEO Specialist · SR Web Marketing Aiuto liberi professionisti e PMI in tutta Italia, Spagna ed Europa a creare siti web WordPress in grado di generare lead organici a lungo termine e visibilità nelle ricerche IA — senza dipendere dai social media. |




