Setup Custom Domain

Configuring a custom domain for your Autostopping gateway

You can customize the domain name for your Autostopping gateway.

Make sure you add your custom domain to your gateway before configuring your custom domain with your DNS provider. Note: DNS changes can take up to 24 hours to propagate.

Configuring custom domain in lightwing

  • Edit the gateway that you would like to add a custom domain
  • Enter the custom domain in the Custom domain field
  • Domain name should be entered without prefixing the scheme (http/https)
  • Save the gateway

Custom domain

Configuring multiple URLs

A gateway can have multiple URLs. You can enter comma separated values into Custom domain field to support multiple URLs.

  • Eg:, In this case, both will point to same gateway
  • Turning on Allow traffic from all subdomains will allow traffic coming from any subdomains. In this case, it is equivalent to *

Configuring CNAME on DNS provider

Navigate to your DNS provider and create a CNAME record that points your subdomain to the lightwing generated URL.

For example, if you want to use the subdomain for your gateway, create a CNAME record that points to . For more information about how to create the correct record, see your DNS provider’s documentation.

To confirm that your DNS record configured correctly, use the dig command, replacing with your subdomain.

$ dig +nostats +nocomments +nocmd

;		IN	A	4464	IN	CNAME	4464 IN	CNAME 39 IN A 39 IN A 39 IN A