AI websites

Step-by-step tutorial

Connect a Domain You Bought Elsewhere to Your Hosting (DNS in Plain English)

Connect a domain registered elsewhere to your website: find the active DNS provider, choose records or nameservers, preserve email, and verify both public addresses.

Product links on this page are ordinary official links. No affiliate commission is currently attached. Read our disclosure.

Quick answer

Add your domain to the intended website project, copy that host’s connection instructions, and apply them at the provider managing your active DNS. Use either the supported record changes or the supported nameserver change. Then check the website and existing email.

You can normally keep the domain registered where you bought it. Connecting an address does not require buying another domain or rebuilding the site. This walkthrough starts with a domain you own and a website already working on its host’s temporary address.

Your route: Find the host’s values → Find active DNS → Save the current settings → Connect → Verify.

1. Get the instructions for this particular website

Open the website host and select the correct project. Find its Custom domain, Connect domain, or equivalent setting. Enter your domain and read the instructions before editing DNS.

Write down the exact domain, required record types, names, targets and any ownership-verification record. Keep the host’s instructions open. A target from another customer’s screenshot is not your target.

There is an important product difference: Hostinger’s external-domain guide distinguishes standard hosting, which can use an A record, from Hostinger AI Builder, which uses CNAME records. Its hosting-IP instructions explicitly exclude AI Builder from the traditional IP workflow.

For an eligible Hostinger web-hosting site, the documented route is Websites → Manage site → Hosting Plan → Plan details. Copy the IP shown for that website. If your project uses a different product, follow its own connection screen instead.

Also check whether the host supports the custom domain on your existing plan. If it asks for an upgrade, pause and review the terms; changing DNS cannot unlock a feature your plan does not include.

2. Find where the active DNS records live

Three roles can belong to different companies:

  • Registrar: where you registered and renew the domain.
  • DNS provider: where the active address instructions are maintained.
  • Website host: where the website runs.

Open the domain’s nameserver setting at the registrar. Identify which provider those nameservers belong to, then open that provider’s DNS editor. A DNS panel at the registrar may not control the live domain if its nameservers point elsewhere.

For example, Namecheap’s A-record guide applies to its BasicDNS, PremiumDNS and FreeDNS services. Its documented route is Domain List → Manage → Advanced DNS → Host records. If your domain uses another company’s nameservers, edit the records there instead.

Save a copy or export of the existing zone before changing it. Include record type, name, value and TTL. Keep account details private. Note which entries serve email or verification so that you do not remove them while cleaning up website records.

3. Choose one connection route

Keep the current DNS provider when the host supports connecting through records and you want to preserve that arrangement. Apply only the website and verification changes the host specifies. Hostinger documents this route for domains whose DNS stays with another provider.

Change nameservers when the service requires it or you deliberately want the new provider to manage the whole DNS zone. Prepare and review the replacement zone first, including email and other subdomains. Then replace the nameserver values at the registrar with the exact assigned set.

Do not change nameservers and also edit an abandoned DNS zone hoping both will help. After a nameserver change, future record edits belong at the newly active provider.

If DNSSEC is enabled, follow the new provider’s migration instructions before changing nameservers. DNSSEC authenticates DNS responses; an old configuration can break resolution during a move. Cloudflare’s DNSSEC guide documents its disable, migrate and re-enable sequence. Do not blindly remove security records from an unrelated setup.

Some platforms have a specific requirement. Cloudflare Pages requires a Cloudflare zone and nameservers for an apex domain; an external-DNS subdomain can use a CNAME after it is associated with the Pages project. Merely creating the CNAME without that association is insufficient.

4. Map the records before saving

In a DNS editor, A maps a name to an IPv4 address; AAAA maps it to IPv6; CNAME points a name to another hostname. TTL controls how long a DNS answer can be cached. Cloudflare’s record reference explains these fields.

Fictional worked example: imagine a host explicitly instructs a studio to use the following pair. The reserved domain and documentation IP illustrate the fields; they will not connect your real website. Replace them with your own host’s instructions.

RecordName and valueIntended change
AName: @
Value: 192.0.2.10
Replace the old website A value for studio.example, after recording it.
CNAMEName: www
Target: studio.example
Set the website alias exactly as this fictional host requests; preserve unrelated entries.

In this example, keep nameservers unchanged and leave existing mail and verification records alone. Use the host’s recommended TTL or the editor’s supported default, and record what you saved.

Before clicking Save, check whether the Name field expects www or the complete hostname. Do not enter https://, a page path or a port into a CNAME target. If an old A, AAAA, CNAME or forwarding entry conflicts at that same website name, resolve it using the provider’s instructions. Do not delete every record with the same domain suffix.

Your completed change note should identify the two affected names, old values, new values, unchanged services and an undo plan. “Changed DNS” is too vague to help if the wrong site appears later.

5. Check both addresses and the services you kept

Allow the provider’s stated time for the change. Hostinger currently advises allowing up to 24 hours for propagation; your own provider’s guidance matters. A cached old answer and an incorrectly saved value need different responses. Repeatedly replacing correct settings makes diagnosis harder.

Work through this list:

  1. Reopen the active DNS editor and confirm the saved types, names and values.
  2. Check the host’s custom-domain status and any verification request.
  3. Open the root domain and www separately. Each intended public name must reach the correct site, directly or through your chosen redirect.
  4. Confirm HTTPS opens without a warning. Check an inner page, an image and the main navigation.
  5. If the domain already has email, send a non-sensitive test message from an outside account and reply. Keep the result with your change note.

DNS does not itself create an HTTP redirect. Configure the preferred address through the host’s supported settings after both hostnames are connected and HTTPS works. For an existing warning, use the separate HTTPS troubleshooting guide.

Done means: the right project answers at the intended public address, the saved setup matches the host’s instructions, and services you meant to preserve still work.

If the connection still fails

  • Changes have no effect: confirm that you edited the active DNS provider, not an unused zone.
  • One name works: compare the root and www instructions and their project associations separately.
  • A different site appears: check the target and selected hosting project before editing page content.
  • Email stops: compare the active mail records with your saved copy and the email provider’s instructions. Our domain-email guide covers that separate service.

Give support the affected hostname, record types, saved values, time changed and observed result. Do not send passwords or authorization codes. If the cause is unclear, ask for a specific correction rather than a full DNS reset.

Sources and testing limits

Official sources checked November 23, 2026: Hostinger external domains, hosting IP and external-registrar records; Namecheap A-record setup; Cloudflare record types, Pages custom domains and DNSSEC, linked at the relevant steps.

This is a documentation-based walkthrough with a complete fictional record mapping. No live domain, nameserver, DNSSEC, email or certificate settings were changed for the example. No propagation time was measured. Keep your actual host’s connection instructions as the source for production values. No affiliate links are included.

Questions & answers

Must I transfer my domain to my website host?

Usually you can leave the registration where it is and connect the website through the host's supported DNS setup. Pointing the domain and transferring its registration are different actions. Follow the instructions for your actual hosting product.

Should every AI website use an A record?

No. Some services require a hostname target or a managed nameserver setup. Hostinger documents A records for standard hosting and CNAME records for its AI Builder. Use the values for your specific website, not an example IP from a tutorial.

Will my domain email keep working?

Preserve the email provider's records and test mail after the connection. Changing nameservers changes where the active DNS zone is managed; the replacement zone must contain the required mail records. Do not assume that a working homepage proves email works.