Skip to main content

Connecting your own domain to your server

Point your own domain at your server by its name, with a CNAME or an ALIAS record, so it keeps working when the server moves.

Your server always answers at its own name, such as acme.fullfinity.app. To open it at your own domain, point the domain at that name in your DNS provider, then verify it on your server's page. The certificate for your domain is obtained for you.

Why we never give you an IP address

We may move your server to new hardware: when it is rebuilt, resumed after a pause, or moved during maintenance. Its IP address changes when that happens, and its name is moved to the new address within a minute. A domain pointed at the name follows it with nothing for you to change. A domain pointed at an IP address would stop working at the next move.

Add the DNS record

  • A subdomain such as www.example.com or erp.example.com: add a CNAME record for it, pointing at your server's name.
  • The root of your domain, example.com itself, cannot hold a CNAME record. Use your DNS provider's record that points the root at a name instead. It is called ALIAS, ANAME or CNAME flattening depending on the provider: Cloudflare, DNSimple and Namecheap each offer one. Point it at your server's name.
  • If your provider has no such record (Amazon Route 53, for one, can point the root only at Amazon's own services), connect www.example.com with a CNAME record and have your registrar redirect example.com to it.

Do not add an A record with an IP address, even one you looked up: it works only until your server next moves.

Connect and verify the domain

  1. Open your server from Servers and go to the Code & domains tab.
  2. Under Custom domains, type the domain and click Connect Domain.
  3. Under the domain, the page shows the one record it needs: its Type (CNAME for a subdomain, ALIAS for the root of your domain), its Name and its Value, each with a button that copies it. Create that record at your DNS provider. The name is the part before your domain, such as www; @ means the root of the domain itself.
  4. Once you have added the record, wait a few minutes and click Verify.

A domain verifies when it leads to your server. If it reaches the server's address directly instead of through its name, it still verifies, and the domain shows a warning: an ALIAS or flattened record looks like this from outside and is fine, but if you typed in an A record, change it to a CNAME or ALIAS record now.

Was this article helpful?