Manage additional site domains and redirects

Manage additional domains and redirects for the intended site.

Manage additional domains and redirects for the intended site. These real product views contain fictional Northstar Studio hostnames and saved states. No alias, DNS record, certificate or live routing is changed in this walkthrough. Review the intended result and a private record of the previous settings before making a real change.

Demonstration: Herne 3.55.43, English interface and synthetic English voice, fictional Northstar Studio. Every hostname and saved state is synthetic. Forms and dialogs are shown without submitting; no live DNS, certificate, runtime or application operation runs. Complete text and subtitles are available in six languages.

Watch the walkthrough

English audio · 7 min 1 sec · Subtitles in all six site languages.

1. Choose the correct site and prepare the hostname

Manage additional domains and redirects for the intended site. These real product views contain fictional Northstar Studio hostnames and saved states. No alias, DNS record, certificate or live routing is changed in this walkthrough. Review the intended result and a private record of the previous settings before making a real change.

Open Settings, then Additional domains / aliases, and confirm the primary domain shown. This page and its changes require permission to update the site. The primary domain is read-only here. Adding an alias keeps the same site and root; changing the primary domain belongs to a separate workflow.

Confirm control of the new hostname and prepare its DNS separately for the intended server. Adding an alias does not create or publish DNS records. Review application host handling, links, cookies and sign-in behavior. Serving the same root under another name does not automatically make the application support that name.

Settings menu with Additional domains / aliases for fictional studio.example.test.

2. Read flags and prepare Add alias

Read Domain, Status, SSL and Redirect separately. Active is a saved routing choice, not a DNS or health check. Included means eligible for the requested certificate domain list, not proof of coverage. Serves site keeps the alias hostname; Redirects to primary selects a permanent redirect when normal site routing is active.

Choose Add alias and enter a bare hostname such as new.example.test. The validator normalizes case and checks supported domain syntax. It rejects the primary domain, a hostname already managed by this site’s www setting, other site primaries and existing alias records. Wildcard aliases are unsupported. Review the normalized saved hostname rather than assuming input was accepted unchanged.

In this version, Add starts with Enabled and Include in SSL selected, and Redirect to primary cleared. Unchecking the first two boxes does not reliably clear them during creation: omitted create flags default to true. Only proceed when those creation defaults are acceptable. Confirm the saved row and use Edit alias to clear either flag when needed.

Option Saved meaning
Enabled Eligible for active generated routing
Include in SSL Active alias enters requested certificate list
Redirect to primary Normal alias routing sends 301 to primary
Synthetic saved serving, redirecting and disabled alias rows with separate SSL flags.
Unsubmitted Add alias dialog for new.example.test with Enabled and Include in SSL selected.

3. Understand Save, SSL and verification

Add alias and Save changes are live operations. They save the alias and immediately invoke managed site runtime configuration, including dedicated PHP-FPM preparation and Nginx validation and application. The page hint mentions regenerating configuration, but these saves already apply it. There is no separate alias Apply step. Our example opens the form without submitting it.

When site SSL is enabled, alias creation or editing also requests certificate issuance for the primary domain, its configured www name and active aliases marked Include in SSL. A failed expansion can leave the alias saved and runtime applied, with an information message. Check DNS and the actual certificate before treating the hostname as HTTPS-ready. The Included badge alone is insufficient.

After an authorized change, refresh the saved row and independently test the exact hostname. Confirm DNS, certificate coverage, HTTP and HTTPS behavior, the intended page and application sign-in. A redirecting hostname also needs a valid certificate before an HTTPS redirect can be received. Do not bypass certificate checks to make a test appear successful.

Synthetic information message: alias saved and runtime applied, but certificate expansion failed.

4. Edit, disable and redirect an alias

Use the pencil for the intended row and review the hostname and all three flags together. In Edit alias, unchecked Enabled and Include in SSL fields are cleared by the update. Save changes applies runtime again and may request SSL expansion. Reopen current data before editing; an old form is not a revision-protected merge.

The row’s Enable or Disable button submits immediately, without the edit or delete dialog. Disabling removes that alias from active generated routing and future certificate domain selection while preserving its record and other flags. It does not remove DNS or revoke an existing certificate. Enabling reapplies the saved choices, so review them and the hostname’s readiness first.

For an active alias, Redirect to primary selects a 301 to the site’s primary domain, retaining the request path and query. With that option off, normal routing serves the same root under the alias. This does not rename the site or move files. A site-wide external redirect or disabled site state can override these normal alias behaviors.

Unsubmitted Edit alias dialog for preview.example.test with three independent flags.

5. Review the site-wide external redirect

External site redirect is a different control at the top of the page. Enter only the reviewed HTTP or HTTPS origin, such as https://destination.example.test, without credentials, a path, query or fragment. Some self-targets are rejected, but this is not a complete redirect-chain test. Independently check the destination and possible loops.

Save redirect immediately saves the destination and applies runtime configuration for the primary hostname, configured www and active aliases. It sends a permanent 301 with the original path and query to the destination; review what URL data will be forwarded. It is not a reverse proxy or content migration. To turn it off in this web form, use Disable redirect; blank Save is rejected.

Test the source hostname’s certificate and the complete redirect chain to the intended destination, including a representative path and query. Saving an external redirect does not issue a new source certificate. A disabled site instead uses its disabled response. Because 301 responses can be cached, use a fresh client when verifying a later change or disabling the redirect.

Unsubmitted external redirect destination https://destination.example.test in the real form.
Synthetic saved external redirect state with the warning and Disable redirect button.

6. Delete deliberately and recover uncertain state

Delete opens a confirmation showing the alias hostname. Confirm only the intended alias: deletion removes its record from generated routing and future certificate domain lists, then applies runtime configuration. It does not delete the site’s files, DNS records or existing certificate. This dialog has no typed-domain field. Our example leaves Delete unsubmitted.

If validation fails, correct the specific field without assuming a routing change occurred. After a runtime error, timeout or lost response, refresh current records and have the administrator inspect runtime state before retrying. The service attempts to restore database changes on configuration failure, but that is not proof of host recovery. A restored deleted alias may have a new record identity.

Keep the previous hostname, flags and external destination privately. Recovery means deliberately restoring the reviewed settings through the appropriate control, then verifying DNS, TLS, redirects and application behavior again. It does not roll back external DNS, cached redirects or application data automatically. Refresh the page before further actions, and resolve uncertain state before making another change.

Control Submission and scope
Add alias / Save changes Saves alias and applies runtime; may request SSL
Enable / Disable Immediate row submission and runtime application
Save redirect / Disable redirect Applies site-wide external redirect state
Delete Confirmation, alias removal and runtime application
Delete alias confirmation for preview.example.test; deletion is not submitted.
Herne documentation