Sub topic 16
Connect a Domain, Publish, and Run Pre-Launch Checks
This chapter assumes you have a built landing page with a lead form, UTM-tagged campaign links, metadata, and basic analytics. It also assumes you can sign in to your website builder and, ideally, to the account where your domain's DNS records are managed. You will connect the page to a web address, publish it, and verify that everything works before you send paid or email traffic to it.
Choose the address for the page
A landing page needs a public address. You have three common options.
| Option | Example | Best for | Trade-off |
|---|---|---|---|
| Builder default address | `yourproject.builder-site.com` | Internal review, early tests | Looks generic, may be blocked by some email filters, and weakens brand trust |
| Subdomain of your domain | `offers.example.com` | Most campaign pages | Needs one DNS record and keeps the main site untouched |
| Path on your main domain | `www.example.com/spring-sale` | Pages that should share the main site's authority | Often requires the builder to host the whole site, or a proxy setup |
For a standalone campaign page, a subdomain is usually the safest choice. It isolates the campaign from your main site. If the page is retired later, nothing else breaks. The metadata example earlier in this tutorial uses https://www.example.com/spring-sale. Whatever address you choose, the og:url value and your campaign links must use that same final address.
How a domain reaches your page
A domain name is a human-readable address. DNS (the Domain Name System) is the lookup service that maps that name to a server. A DNS record is one entry in that service. Your builder hosts the page, and your DNS records tell browsers where to find it.
Two record types matter most:
- A CNAME record points one name to another name. It is the usual choice for a subdomain such as
offers. - An A record points a name to an IP address. Builders often require this for a root domain such as
example.com, because many DNS providers do not allow a CNAME at the root.
Connect the domain step by step
The menu names differ between builders, but the sequence is the same.
- In the builder's domain settings, choose to connect an existing domain and enter the exact address, for example
offers.example.com. - The builder shows the DNS records it needs, usually a CNAME target or an A record value. Copy them exactly.
- Open your DNS provider (often your domain registrar) and add the record. For a subdomain, the host or name field is only
offers, not the full address. Some providers append the domain automatically, and typing the full name createsoffers.example.com.example.com. - Save the record and return to the builder to verify the connection.
- Wait for DNS to propagate. This is the time it takes for the change to spread across DNS servers. It is often minutes, but can take up to 24 to 48 hours depending on the record's TTL (time to live, the number of seconds a lookup result may be cached).
- Wait for the builder to issue an SSL certificate. This is what enables HTTPS. Most builders do this automatically after DNS resolves.
You can check progress from a terminal:
dig +short CNAME offers.example.comIf the output shows the builder's host name, the record is live from your resolver's point of view. If it is empty, the record is missing, mistyped, or not yet propagated.
Common domain problems
| Symptom | Likely cause | Fix |
|---|---|---|
| Builder says "not verified" right after you add the record | DNS has not propagated | Wait, then re-check with `dig` |
| Page shows a security warning | Certificate not yet issued, or the record points to the wrong target | Confirm the record, then wait for the builder to finish issuing the certificate |
| Address opens a different site | An old A or CNAME record for the same name still exists | Remove the conflicting record for that exact name |
| Works with `www` but not without it | Only one of the two names was connected | Connect both and set one as primary, with the other redirecting to it |
| Domain works on your phone but not your laptop | Cached old DNS result on one device | Wait for the TTL to expire or flush the local DNS cache |
Publish deliberately
Most builders separate editing from publishing. Changes you make in the editor are a draft until you publish. Keep this in mind when you fix something late: an edit is not live until you publish again.
Before the first publish, check these settings:
- Primary domain. Pick one canonical address. A canonical address is the single preferred URL for a page. Redirect the alternatives (for example the builder's default address) to it, so analytics and search engines see one page.
- HTTPS redirect. Turn on forced HTTPS so that
http://requests redirect tohttps://. - Search indexing. Decide whether the page should appear in search results. Many campaign pages are meant only for campaign traffic. If so, add a
noindexrobots meta tag, or use the builder's "hide from search engines" setting.
<meta name="robots" content="noindex, follow">A common mistake is the reverse: leaving a builder's "discourage search engines" option on after launch when you do want organic traffic. Check this setting deliberately in either direction.
The pre-launch checklist
Run these checks on the published page at its real address, not in the editor preview. The preview does not exercise DNS, HTTPS, redirects, or live tracking.
Address and security
- Open the final address in a private browser window. It should load over HTTPS with no warning.
- Type the
http://version and the alternativewwwor non-wwwversion. Each should redirect to the primary address. - Open the builder's default address if it is still active. It should redirect or be disabled.
Content and layout
- Read the page top to bottom for typos, placeholder text, and leftover template wording.
- Click every link and button. Each should go where you intend, and external links should work.
- Check the page on a real phone and at least one other browser. The responsive preview approximates devices but does not replace them.
- Confirm images load, and that nothing is oversized or missing alt text.
Form and data
- Submit the form with a test entry using a real email address you control.
- Confirm the submission reaches its destination: your CRM, spreadsheet, or email inbox.
- Check that the confirmation message or thank-you page appears.
- Submit with a required field empty and with an invalid email address. The form should show a clear error.
- If you used the hidden-field snippet, open the page with UTM parameters in the URL, submit, and confirm the campaign values were saved with the lead.
const params = new URLSearchParams(window.location.search);
['utm_source', 'utm_medium', 'utm_campaign'].forEach(function (name) {
const field = document.querySelector('input[name="' + name + '"]');
if (field && params.has(name)) {
field.value = params.get(name);
}
});If the saved value is blank, the hidden field's name attribute probably does not match the parameter name exactly. Names are case-sensitive.
Tracking and metadata
- Open your analytics tool's real-time view, visit the page with a UTM-tagged link, and confirm the visit appears with the right source, medium, and campaign.
- Submit the test form and confirm the conversion event fires once, not twice or not at all.
- Test the consent banner. Analytics that your privacy setup says must wait for consent should not fire before the visitor agrees.
- Paste the page address into a social sharing preview or link debugger to check the title, description, and image. Platforms cache previews, so fix problems before the first share.
- View the page source or search for the title and description to confirm they match your
<title>andog:tags.
Speed
Run the published page through a page speed tool and test on a mobile connection. Look for oversized images or heavy third-party scripts, and fix the biggest item first.
Keep a rollback path
Launch problems are normal. Prepare for them:
- Note the date and time of the publish, so you can match analytics changes to it.
- Know how to unpublish the page or restore the previous version in the builder.
- Keep the old DNS values in a note. If you change a record, you can restore it.
- Avoid changing DNS during a live campaign if you can, since propagation delays make reversing a mistake slow.
Common mistakes to avoid
- Sending campaign traffic before the certificate is active, so visitors see a security warning.
- Testing only in the editor preview and never on the live address.
- Forgetting to republish after a final edit.
- Leaving two live versions of the page, which splits analytics data.
- Tagging campaign links with the builder's default address, then switching to the custom domain. The old links keep working only if the redirect is in place.
Exercise
You added a CNAME record for offers.example.com an hour ago. The builder still says the domain is not verified, and dig +short CNAME offers.example.com returns nothing. List two likely causes and the next check for each.
Show answer
First, the record may have been entered incorrectly. A common error is typing the full offers.example.com in the host field when the provider appends the domain, which creates offers.example.com.example.com. Check the record list in your DNS provider and confirm the host field shows only offers, or that the displayed full name is correct. Second, DNS may not have propagated, or an older cached result may remain. Check the record's TTL and wait for it to expire, then run dig again, ideally against a public resolver such as dig @8.8.8.8 +short CNAME offers.example.com. Also confirm there is no conflicting A record for the same name.
Exercise
Your test form submission reaches your inbox, but the saved lead shows an empty utm_campaign value. You opened the page using ?utm_campaign=spring_sale. What do you check?
Show answer
Check that the hidden form field's name attribute is exactly utm_campaign, since matching is case-sensitive. Check that the custom code runs after the form is on the page, and that the live address you opened still contains the query string, because a redirect from http to https or from a default address to the custom domain can drop it. Finally, confirm the builder passes hidden field values on to the destination.