Deploy to a Custom Domain
Prepare a custom domain for deployment with Freestyle
Once you have verified ownership of a domain, you have the ability to deploy websites to it. However, verification is only the first step. You must also configure the domain to point to Freestyle's servers.
Single APEX Domain
If you want to deploy to an APEX domain (e.g. yourdomain.com
), you need to add an A record to your domain's DNS settings. The A record should point to the IP address of the Freestyle server that will host your website.
Subdomain
If you want to deploy to a subdomain (e.g. subdomain.yourdomain.com
), you need to add a A record to your domain's DNS settings. The A record should point to the Freestyle server that will host your website.
All subdomains of a domain
If you want to deploy to all subdomains of a domain (e.g. *.yourdomain.com
), you need to add a wildcard A record to your domain's DNS settings. The A record should point to the Freestyle server that will host your website.
When dealing with DNS records its easy to set a record like
yourdomain.com.yourdomain.com
on accident. The easiest way to test if the
record is set correctly is to run dig domain.youexpect.com
and see if it
shows up.