Rahul
July 23, 2022, 9:50pm
1
Hello,
I set up a tyk cloud account (free) and have created my API(s) on the portal.
I want to setup custom domains for developer portal and API URL(s) by following steps put here : https://tyk.io/docs/tyk-cloud/using-custom-domains/
I have set up CNAME records for ingress URL(s) from control plane and Edge gateway. I have added Custom URL in API dashboard too
How do I resolve this?
Rahul
July 24, 2022, 4:16am
2
@Olu Please could you guide me here?
Olu
July 24, 2022, 9:03pm
3
Hi @Rahul and welcome to the community. I’ll try to break apart your questions and respond accordingly.
I set up a tyk cloud account (free) and have created my API(s) on the portal.
Do you mean the dashboard or the developer portal?
I have set up CNAME records for ingress URL(s) from control plane and Edge gateway. I have added Custom URL in API dashboard too
How do I resolve this?
Do you mean the 404? If yes, then did you confirm the default domains were working fine before adding a custom domain?
Also can you share screenshots of the gateway, dashboard or portal?
Rahul
July 25, 2022, 3:38am
4
Hey @Olu
Thank you so much.
Yes, I have setup the dashboard and developer portal
the default domains are working fine, with no problems at all.
Screenshot:
CONTROL - PLANE
DEVELOPERP PORTAL:
DEMO API :
https://genuine-gap-mgw.aws-euw1.cloud-ara.tyk.io/demo/
→ points to httpbin.org
I have setup two CNAME record
developer.domain.com
→ developer portal
api.domain.com
→ edge gateway ingress
Olu
July 25, 2022, 9:27am
5
Thanks for your response.
I see the management gateway is working fine. Have you specified the domain or subdomain in the custom domain field of both the gateway and dashboard?
If yes, then I see you mentioned you have added it to the API definition, in your earlier response. Can you confirm?
For the developer portal, I think you may have to send us an email at [email protected] as indicated in our FAQ .
Also, can you share the custom domain? One way to check if your custom domain is properly mapped is to append the /hello
path in front of it. If you try it out with the default domains (except the developer portal), you would observe the expected Liveness health check response.
https://genuine-gap-mgw.aws-euw1.cloud-ara.tyk.io/hello
404 errors simply means something is missing. Either one of the configurations is missing above or the network changes might not have taken full effect.
Rahul
July 25, 2022, 6:43pm
6
Hey @Olu
I cannot find “Custom Domain Field” in my edge deployment. I am on Tyk cloud free account. I am on Edge Version 4.0.2
Ubong
July 26, 2022, 11:07am
7
Hi Rahul,
This helps? Using Custom Domains
You need to select the edge gateway first.
Rahul
July 26, 2022, 11:50am
8
Hey @Ubong
I did this and after that I clicked “edit” under the “deployed” drop down . However there is no custom domains field in the next screen
Any solutions?
Ubong
July 26, 2022, 12:39pm
9
Will check and revert in a few.
Meanwhile, does your custom domain’s /hello endpoint (api.domain.com/hello ) respond with a pass ?
Ubong
July 26, 2022, 2:40pm
11
Hi Rahul,
Looks like you signed up for a free-forever account. Custom domains are not an available feature on that. Scalable Tyk Cloud pricing plans - API Management Platforms
It is available on the free trial. You’ll need to restart with one.
Rahul
July 27, 2022, 12:32pm
12
Hello @Ubong and @Olu
Thank you so much for all your help. I really appreciate your efforts.
I was under the impression it was possible with free account.