First point the hostname to the server, configure the hosting or web server to serve the same AdLinkFly application root, and provision a valid TLS certificate when using HTTPS.
Then open Admin > Settings > Domains, add or edit the hostname, and set Main Domain to Yes. Enter only the hostname, such as example.com, without a scheme, path, query string, or trailing slash.
Selecting a new main domain replaces the previous selection. AdLinkFly does not provision DNS records, hosting aliases, or certificates.