By default, your services are assigned a free subdomain on sliplane.app. On top, you can easily connect a custom domain to your service with just a few clicks. Plus, when you add a custom domain, SSL/HTTPS is automatically set up for your http services.
Connecting a custom domain
Before connecting your custom domain, please ensure that your service has been created and deployed successfully, and that it can be reached on the sliplane.app subdomain.
Once you're ready, make sure you have access to the DNS settings of your domain. If you're not sure where to find this option, check your domain registrar's control panel.
To connect your custom domain, navigate to your service in the Sliplane dashboard and go to the Settings tab. You will find a section called "Domain". Click on the "Connect Domain" button, which is only available if your service is healthy. Then, a popup will appear, prompting you to enter your entire domain, such as www.example.com, or example.com. After entering your domain, click on "Connect".
You will then see information on how to update your DNS settings. You have three options to choose from, but you only need to pick one. You can set up a CNAME record, an ANAME or ALIAS record, or A and AAAA records. If you're not sure which option to choose, we recommend using the CNAME record. However, all options will have the same end result.
CNAME records map one domain name to another. If your custom domain is www.example.com, add "www" as the host value and your xyz.sliplane.app subdomain as the value. If you want to use the root domain (example.com), add "@" (or whatever your registrar is expecting for as a root value) as the host value and your xyz.sliplane.app subdomain as the value.
Note: Not all DNS providers support CNAME records for the root domain (example.com). If you're not sure, you can try adding a CNAME record for the root domain. If it doesn't work, you can always remove it and try one of the other options.
ANAME or ALIAS records are similar to CNAME records, but they can be usually used for the root domain (example.com) if CNAME root records are not allowed by your registrar. If your DNS provider supports ANAME or ALIAS records, you can add your xyz.sliplane.app. subdomain as the value for your own domain example.com or sub.example.com.
A and AAAA records
A and AAAA records are the most basic DNS records. They map a domain name to an IP address. If you choose this option, you will need to add two records. One for the IPv4 address and one for the IPv6 address. You can find the IP addresses in the popup after clicking on "Connect Domain". Create an A record with the host value (your subdomain or "@" if your domain is example.com and not sub.example.com) and the IPv4 address as the value. Then create an AAAA record with the same host value as before and the IPv6 address as the value.
If you have any questions or need assistance in setting up your custom domain, please do not hesitate to contact us. We're always here to help!