Browse the help center

Test pages and your ad-serving domain

Which hostnames your network serves ads from — the tag domain each placement picks and the one system default — how to add your own domain (CNAME) or change the system default without breaking tracking, and how to load a real tag on a hosted test page.

How-to admin Admin → Audit & diagnostics → Test pages

An ad-serving domain is the hostname your ads are requested from. It is written into every invocation code, impression beacon, click redirect and conversion URL the platform generates, and it owns the cookies the ad server reads back. Domains belong to the network: the tag domains Epom support registers for you, which a placement’s ad tags are generated on, and one system default ad-serving domain, set in White label preferences, which carries everything that is not on a tag domain. A hosted test page is how you load a real tag on a real page, on the host it will really serve from — the first thing to do after any domain change.

Example. Northwind Media has two tag domains, ads.northwind-media.com and tags.northwind-media.com, and serve.northwind-media.com as the system default. A placement whose Domain picker says ads.northwind-media.com gets its Universal JS tag on that host, and its impression beacons and click redirects stay on it. The campaign’s conversion pixel, the creative preview and the opt-out page go out on serve.northwind-media.com, because none of them belongs to a placement.

Typical scenarios

You wantDoWhere
Check that a placement’s tag really serves after you changed a domainPaste the invocation code into a test page and Open it — 1 page, 1 tag, ~2 minutesAdmin → Audit & diagnostics → Test pages
Serve under your own brand — ads.northwind-media.com instead of an Epom hostnameCreate a CNAME in your DNS, then have Epom support register the name; new tags are generated on it as soon as it appears in the Domain pickerYour DNS, then Epom support, then the placement’s ad tag Settings tab
Move the conversion pixels, previews and opt-out page to a new hostConfirm the host is not banned, have Epom support set up its DNS, SSL and routing and register it on every ad server, then change System default ad-serving domainAdmin → Ad serving → White label preferences → Main → Ad-serving settings
Serve one group of publishers from a different hostname than the restPick a different tag domain in those placements’ Domain picker; sites, advertisers and users have no domain of their ownThe placement’s ad tag Settings tab
Retire a hostname after a migrationAsk Epom support to remove it — only once no pasted tag, pixel or postback URL calls it any moreEpom support

Step by step

Maintain test pages

A test page is a small hosted HTML page, served anonymously at /test/<id>.do, whose body is whatever markup you paste in.

  1. Go to Admin → Audit & diagnostics → Test pages. The grid lists ID, Title and Ad cache, with Add, Edit, Open and Delete in the toolbar.

    Test pages grid with three pages, one ticked, and the Add, Edit and Open buttons

  2. Click Add (or select a row and Edit). Test page details opens with Title (required, at most 64 characters), a Serve as test creative checkbox and a Content code editor. Paste the invocation code you copied from the placement’s Ad Tags & API card into Content, leave the checkbox off, and save; the toast reads Done.

    Test page details with a Universal JS tag pasted into Content

  3. Select the row and click Open. The page loads at /test/<id>.do in a new tab, on the host it was opened from, and the tag inside it requests an ad from its own host. The editor has the same Open button in its footer once the page has an ID.

Change the system default ad-serving domain

The System default ad-serving domain field sits in Admin → Ad serving → White label preferences → Main → Ad-serving settings (see Configure white-label branding). It is one setting for the whole network, so the change moves every URL in the host table below that uses the system default.

  1. Before you touch the field, confirm that the new hostname is not banned — check it against the blocklists your demand and publishers use — and ask Epom support to set up DNS, SSL and routing for it.

  2. Ask Epom support or your account manager to register the new hostname on every ad server of your network. A hostname the ad servers do not answer on silently breaks tracking.

  3. Enter the hostname — no scheme, no path, no port — in System default ad-serving domain and click Save.

    Ad-serving settings on White label preferences with the System default ad-serving domain field

  4. Open a test page whose code uses the new host and confirm an ad loads and a click redirects.

Use my own domain (CNAME) for ad tags, the control panel or files

Your account starts on Epom-provided hostnames. To serve from your own brand — say ads.northwind-media.com for tags and panel.northwind-media.com for the control panel — the names have to exist in two places, and only the first is yours to do:

  1. DNS (you). In your domain’s DNS, create a CNAME record for each subdomain, pointing to the Epom hostname Epom support gives you. Use separate subdomains for separate jobs (ad serving, control panel, creative files), so each can be moved on its own later.
  2. Registration (Epom). Send the names to Epom support or your account manager, saying whether each is a new tag domain, your new system default, or both. A hostname only becomes usable once it is registered for your network — until then it is offered nowhere in the console, however correct the DNS is.
  3. Use it. A registered tag domain appears in the Domain picker on a placement’s ad tag settings (with the Set Ad-Serving Domain (Placement) permission — see Ad tags & API); new tags are generated on the new name. A new system default is set as in Change the system default ad-serving domain.

Caveats and exceptions

  • Pasted tags keep their old hostname. Moving to a new domain rewrites the host in every newly generated tag; tags already on publisher pages, and conversion pixels and Postback (S2S) URLs already handed to partners, keep pointing at the old host. They keep working only while that hostname stays registered and pointed at Epom. Keep the old domain serving until every publisher and partner has moved, and ask Epom support to remove it only once nothing calls it. See Get the pixel and S2S tracking code.
  • One installation is one network. There is no tenant switcher: branding and the ad-serving domains apply installation-wide. Several networks means several installations, each with its own data and domains, which Epom support sets up. See White-label & multi-tenancy.
  • Sites, advertisers and users have no domain of their own. To serve one group of publishers from a different hostname, give their placements a different tag domain in the Domain picker; to change the host of one campaign’s conversion codes, pick it in the campaign’s conversion tracking code window.
  • A placement with no Domain picked does not fall back to the system default. It uses the network’s default tag domain — the one Epom support flagged as default, else the first registered. The system default is reached by placement codes only on a network with no tag domain configured at all.
  • Never type a port into the system default. A hostname typed with a port is used exactly as typed, so it keeps that port even when the network’s serving port changes.
  • Retargeting needs one domain for pixel and tags. A browser lets a domain read only the cookies it set itself. If the retargeting pixel runs on one domain and the ad tag or VAST URL on another, the cookie is never seen at ad time and cookie or DMP targeting matches nobody. Put the pixel and the tags that should match it on the same serving domain.
  • Console pages on an ad-serving host can be redirected. When the white-label Redirect URL for ad-serving domain is set, a console page requested on the system default or on any host registered for your network is sent to that URL. Hosted test pages are exempt on purpose, which is why a test page still loads on an ad-serving domain.
  • Serve as test creative is not a CDN control. It loads the page into the ad servers’ cache so they can serve its content themselves, as a creative. Leave it off for an ordinary tag-preview page.
  • Roles. Administrators need Test Pages for the grid and White Label Preferences to change the system default; Epom support adds either to your role on request. Network managers pick a placement’s tag domain in its Domain picker when their role holds Set Ad-Serving Domain (Placement), and cannot change the system default. Publishers and advertisers have no host controls: the host is applied silently to the tags they copy, and a domain change tells them nothing.

Not working?

SymptomCheckWhere
Your new hostname is not in the Domain pickerIt is not registered for the network yet — DNS alone is not enough. Ask Epom support to confirm the registration, and that it was registered as a tag domain (not only as the system default).The placement’s ad tag Settings tab; Epom support
Impressions or clicks stopped after a system-default changeThe hostname is not registered on every ad server, is banned, or its DNS, SSL or routing is not set up yet. Ask Epom support to confirm every ad server answers on it; open a test page on the new host and watch the beacon and the click redirect.Epom support; Admin → Audit & diagnostics → Test pages
A publisher’s page still calls the old domainIts tag was generated before the change. Regenerate the code on the placement’s Ad Tags & API card and have it re-deployed; until then keep the old hostname registered.The placement’s Ad Tags & API card
A test page opens a redirect instead of the pageTest pages are exempt from the Redirect URL for ad-serving domain; a redirect means you opened a console page, not /test/<id>.do. Use Open on the grid.Admin → Audit & diagnostics → Test pages
Cookie or DMP targeting matches nobody after a moveThe retargeting pixel and the ad tags are on different domains. Put them on the same serving domain.The pixel’s host and the placement’s Domain
The system default keeps an old portA port was typed into the field. Enter the bare hostname.White label preferences → Main → Ad-serving settings
Test pages or the white-label page is missing from the sidebar, or opens Record not found.Your admin role lacks Test Pages or White Label Preferences.Admin → Users & access → Admin roles & permissions, or Epom support

Reference

Which host each URL uses

WhatHost
Universal JS and Mount JS tagsThe tag domain picked in the placement’s Domain picker on the ad tag Settings tab (permission Set Ad-Serving Domain (Placement)). See Ad tags & API.
Direct URL, Simple Iframe, VAST, e-mail and video player codesThe tag domain picked in the placement’s Domain picker. A placement with none, or with a domain that is no longer one of the network’s tag domains, uses the network’s default tag domain — the one Epom support flagged as default, else the first registered. The system default is used only on a network with no tag domain configured at all.
Impression beacons and click redirectsThe host the ad request arrived on when that is a tag domain; otherwise the system default.
Conversion pixels and Postback (S2S) URLsThe Ad-serving domain chosen in the conversion tracking code window — by default the campaign’s own conversion-pixel domain, else the system default. See Get the pixel and S2S tracking code.
The set-cookie pixel on Preferences, opt-out, creative preview, the $$SERVE_DOMAIN$$ macro on requests that did not arrive on a tag domainThe system default.

When the system default is left blank, the platform’s own default host — set by Epom support — is used instead.

Test page fields

FieldWhat it does
TitleRequired, at most 64 characters. Shown in the grid.
Serve as test creativeLoads the page into the ad servers’ cache so they can serve its content as a creative (the Ad cache column). Off for a tag-preview page.
ContentThe page body, served as-is at /test/<id>.do.

Permissions

PermissionLets you
Test Pages (admin)Open the Test pages grid; add, edit, open and delete pages.
White Label Preferences (admin)Change the system default ad-serving domain and the redirect URL for ad-serving domains.
Set Ad-Serving Domain (Placement) (account)Pick a tag domain in a placement’s Domain picker.

Related pages

Please disable Adblock
Are you using adblock? Disable it and reload the page to proceed to the destination page.

A registration has already been submitted from this page. Please try again in 10 minutes.