First, point the hostname to the server. Then configure the hosting or web server to use the same AdLinkFly application root. If you use HTTPS, add a valid TLS certificate.
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.