When we create a site in ABT Node, ABT Node automatically assigns an accessible address to the application; also, users can bind a custom domain name to the application and activate SSL for the site.

Binding Domain

Add DNS resolution

The prerequisite for binding a domain name is that the domain name has resolved to the server where the node is located, which requires the user to resolve the domain name at the domain name service provider where their domain name is located.

Binding in ABT Node

Add Site

  1. Open the Service Gateway > URL Mapping page, click on Add Site.

add site

  1. Fill in the domain name

fill in the domain name

  1. Save And Apply

Click the Save And Apply button and fill in the information to apply the routing rules:

Save And Apply:

apply

Fill in the information:

fill in the information

Done

If everything is fine, the site will be accessible at this time.

Click on the website link:

visit

Site:

Site

Start SSL

When our site is already running, we should add an SSL certificate to this site to make it more secure. ABT Node provides two ways to add an SSL certificate, by uploading it by the user and by creating a free certificate using the Certificate Manager Blocklet.

Upload yourself

  1. Go to Service Gateway > SSL Certificate page

ssl

  1. Upload certificate and private key

upload

  1. Done

Once added, visit the site and we can see that the site is now HTTPS:

HTTPS site

Create a free Let's Encrypt SSL certificate with Certificate Manager

This is the way we recommend. It is very easy to add a free SSL certificate to a site using this method.

  1. Install Certificate Manager Blocklet
  2. Configure Certificate Manager
  - `NODE_ACCESS_KEY`: NODE_ACCESS_KEY generated in ABT Node, used by Certificate Manager to upload certificates
  - `NODE_ACCESS_SECRET`: NODE_ACCESS_SECRET generated in ABT Node, used by Certificate Manager to upload certificates
  - `NODE_DOMAIN`: Node address to display a prompt message
  - `MAINTAINER_EMAIL`: The maintainer's email for receiving certificate related emails

Configure Certificate Manager

  1. Start Certificate Manager
  2. Visit Certificate Manager, and login

visit certificate manager

  1. Add the required domain name and generate a certificate for that domain name

add domain

add domain

Waiting for the certificate to be generated:

Generate certificate

  1. Automatic certificate binding

Certificate Manager will automatically bind the certificate to the site, and if all is well, the site is already HTTPS at this point:

HTTPS site