For the complete documentation index, see llms.txt. This page is also available as Markdown.

On-premises DNS and service addresses

An on-premises Mago Stage deployment can use direct server addresses or dedicated DNS names.

Dedicated DNS names with HTTPS are recommended for production deployments. They provide clearer service separation, support trusted certificates, and avoid browser restrictions associated with insecure connections.

The following table illustrates a deployment using the example domain magosrv.com.

Service

Example public address

Default internal target

Mago Stage API

https://api.magosrv.com/api

http://<server-address>:5083/api

Administration Portal

https://admin.magosrv.com

http://<server-address>:4000

Remote Controller

https://remote.magosrv.com

http://<server-address>:8080

Present web controller

https://present.magosrv.com

http://<server-address>:5000

Stage VC

https://vc.magosrv.com

https://<server-address>:3000

WebRTC

wss://webrtc.magosrv.com

ws://<server-address>:7880

WebRTC TURN

turns://turn-webrtc.magosrv.com:443

<server-address>:443

Replace magosrv.com and <server-address> with the values assigned to the deployment.

Do not use these example addresses in production unless the domain has specifically been assigned to the deployment.

Required service address configuration

Record the following addresses during installation:

Configuration value

Example

Mago Stage API

https://api.magosrv.com/api

Administration Portal

https://admin.magosrv.com

Remote Controller

https://remote.magosrv.com

Present web controller

https://present.magosrv.com

Stage VC

https://vc.magosrv.com

WebRTC

wss://webrtc.magosrv.com

WebRTC TURN

turns://turn-webrtc.magosrv.com:443

SSO callback base address

https://api.magosrv.com

The address entered in the application configuration must match the address that controllers, receivers, and browsers use to reach the service.

Do not configure localhost when the service must be reached from another device. On a controller or receiver, localhost refers to that device—not the Mago Stage server.

DNS records

Create an A or AAAA record for each enabled service.

Example:

DNS record

Resolves to

api.magosrv.com

Mago Stage server or reverse-proxy address

admin.magosrv.com

Mago Stage server or reverse-proxy address

remote.magosrv.com

Mago Stage server or reverse-proxy address

present.magosrv.com

Mago Stage server or reverse-proxy address

vc.magosrv.com

Mago Stage server or reverse-proxy address

webrtc.magosrv.com

WebRTC server, load balancer, or reverse-proxy address

turn-webrtc.magosrv.com

WebRTC server, load balancer, or TLS gateway address

Create records only for services enabled in the deployment.

Explicit DNS records are recommended because they make ownership and troubleshooting clearer.

Wildcard DNS

A wildcard DNS record can direct multiple service names to the same server or reverse proxy.

Example:

*.magosrv.com

A wildcard record does not:

  • Create service routing

  • Configure the reverse proxy

  • Open firewall ports

  • Issue a certificate

  • Confirm that every service is installed

Wildcard DNS behavior depends on the organization’s DNS provider and record configuration. Do not assume that a wildcard DNS record provides certificate coverage for the same hostnames.

Use explicit records where the organization requires strict change control or where services resolve to different addresses.

Internal-only deployments

For services available only on the customer’s private network:

  • Use the organization’s internal DNS service.

  • Resolve each service name to the server’s private address.

  • Restrict firewall access to authorized internal networks.

  • Use a certificate trusted by every controller, receiver, and administrator device.

  • Do not publish the service names through public DNS unless required.

Internal-only deployments can use an organization-owned internal subdomain, such as:

  • api.stage.example.com

  • admin.stage.example.com

  • webrtc.stage.example.com

Avoid unqualified hostnames such as stage-server. Fully qualified domain names provide more predictable certificate and DNS behavior.

Public or multi-site deployments

A deployment accessed from other sites or external networks requires:

  • Public or appropriately routed DNS

  • A secured public entry point or VPN

  • Valid TLS certificates

  • Restricted firewall rules

  • Protection against unauthorized access

  • A routing design that supports WebSockets and real-time media

Do not expose raw API, container, database, Redis, or management ports directly to the public internet.

Use a reverse proxy, load balancer, VPN, or other approved security gateway.

Split DNS

Split DNS allows the same hostname to resolve differently depending on the requesting network.

For example:

  • Internal clients resolve api.magosrv.com to the server’s private address.

  • Authorized external clients resolve api.magosrv.com to a secured public address.

Split DNS can avoid unnecessary routing through the public gateway and can simplify certificate configuration because clients continue using the same hostname.

Confirm that:

  • Internal and external records use the intended addresses.

  • Both routes present a certificate valid for the hostname.

  • WebSocket connections work through both routes.

  • Firewall policies permit the required traffic.

  • Remote sites do not receive an unreachable private address.

Application origins

Browser security policies distinguish between origins using the scheme, hostname, and port.

For example, these are different origins:

  • https://admin.magosrv.com

  • http://admin.magosrv.com

  • https://admin.magosrv.com:4000

  • https://remote.magosrv.com

Configure allowed origins using the exact addresses presented to users.

The Remote Controller must trust the exact Administration Portal origin used by the browser. A mismatch in the scheme, hostname, or port can prevent the Portal from opening or transferring control to the Remote Controller.

SSO callback addresses

Single sign-on providers redirect users to a registered callback address after authentication.

The callback address must:

  • Use the correct public API hostname

  • Use HTTPS in production

  • Match the address registered with the identity provider

  • Be reachable by the user’s browser

  • Present a trusted certificate

Google authentication requires a real HTTPS callback domain. A bare IP address or unencrypted HTTP callback is not suitable for production.

Update the identity-provider registration whenever the service hostname changes.

Address changes

Changing a service hostname can affect:

  • Application configuration

  • DNS

  • Certificates

  • Firewall rules

  • Reverse-proxy routes

  • Allowed origins

  • SSO callback addresses

  • Bookmarks and deployment records

Plan hostname changes as a controlled deployment change.

Update all dependent settings before retiring the previous address.

Last updated

Was this helpful?