v1

Domains /

Link a domain to a port

You can point your domains or subdomains at specific ports on Northflank services. To do this, you will need to link your domain to a port entry on a service.

Requirements

You'll need the following to get started:

Open the domains page in your account settings and find or search for the domain that contains the subdomain you want to link, or find the apex domain.

Select the service that contains the port you want to link from the drop-down list next to your domain or subdomain, then select the port to link.

After you have reviewed and saved the changes Northflank will automatically generate a TLS certificate for your subdomain and your subdomain should redirect to your specified port soon after saving.

Open the ports & DNS page on the service that contains the port you want to link.

Make sure your port is using the HTTP protocol and is publicly exposed, or create one that is.

Open the custom domains & security rules options and select the domain you wish to associate with the service in the list. If it is not present, click manage domains to add and verify it.

After saving your changes Northflank will automatically generate TLS certificates for your domain or subdomain and your domain should redirect to your specified port soon after saving.

© 2022 Northflank Ltd. All rights reserved.