GoDaddy
Assuming you own example.com
, registered with GoDaddy:
Subdomains
Link a subdomain, for example api.example.com
to a Cyclic app:
Cyclic
- On the app dashboard, navigate to Advanced > Branding > Custom Domain
- Enter
api.example.com
in the Domain Name field - Press Start
- You should see a message saying that records will be available in a few seconds. Hit Refresh if you do not see them.
- Cyclic will produce:
GoDaddy
- Navigate to DNS Management for the domain
- Click Add to add a record
- Enter the validation record
- Select
CNAME
in the Type field - The Name field should not include the domain portion
- For the Cyclic dashboard record name of
_xxxxxxxxxxx.api.example.com
, in GoDaddy, only enter_xxxxxxxxxxx.api
- For the Cyclic dashboard record name of
- Select
- Enter the routing record
- Select
CNAME
in the Type field - The Name field should not include the domain portion
- For the Cyclic dashboard record name of
api.example.com
, in GoDaddy, only enterapi
- For the Cyclic dashboard record name of
- Select
At this point, the SSL certificate is still pending, navigating to your subdomain https://api.example.com
, will produce a browser error NET::ERR_CERT_COMMON_NAME_INVALID
.
Return to Cyclic dashboard. It will take a few minutes (up to 15 but usually less) for a certificate to be issued once the validation record has been entered.
After refreshing, you should see a message that says:
https://api.example.com has been validated and is active
Apex domains
Link the apex domain example.com
to a Cyclic app.
The most common approach is to link the www
subdomain and use forwarding in GoDaddy to set up redirect from example.com
to www.example.com
Cyclic
Follow the above subdomain procedure to link www.example.com
to your Cyclic app.
After you have set up the records and SSL certificate was issued:
- Verify that you can access your app via
https://wwww.example.com
.
GoDaddy
- Navigate to DNS Management for the domain, scroll down to the Forwarding section
- Click Add Forwarding in the Domain slot
- Select
https://
from the dropdown and enter your subdomain,www.example.com
After a few minutes, try navigating to https://example.com
and you should be redirected to your Cyclic app at https://www.example.com