Custom domain
I'd like to add a custom domain to my project;
Custom Domain: oktale.com
App: runpod-001.gadget.app
DNS provider: Godaddy
thanks
24 Replies
Done! Please double check that everything works as expected
thank you!
after this, we are not able to go to the gadget app dashboard anymore??
now when we click the dashboard, we will get redirect to the domain, not the gadget dashboard.
How to go to the gadget dashboard after we added the custom domain?


Is there something else that you're hosting and using this custom domain for?
no, I just added a cname record in godaddy as in the doc https://docs.gadget.dev/guides/environments/custom-domains#adding-a-custom-domain-to-an-environment

After adding this, I am not able to go to the dashboard anymore. Even after now I have deleted this cname record.
What are your options for
Name?app
only app? You can't put @ or anything else?
Type: CNAME
Name: app
Value: runpod-001.gadget.app
that's the value I put in godaddy
This is what made me think that you're not using the custom domain correctly

I know. I'm asking if you have the option to put anything else like
@
Ok, so I definitely don't think that you're using the custom domain correctlyI can add @ like this in godaddy, is this what you mean?

You have the custom domain point to some other app that's powered by GoDaddy
I just changed the Gadget production domain back and you can access the editor yet the oktale.com domain still renders a page
You can't use one domain for two different applications/sites
I see. Godaddy has this AI auto generated landing page for new domains. I will need to delete this
Thanks for your help.
No problem. Let us know once you've fixed this issue and we can change the domain back to your custom domain
ok will do
hi, we have fixed the issue, and here is our custom domain information:
Custom Domain: app.oktale.com
App: runpod-001.gadget.app
DNS provider: Godaddy
Ans here is what we have entered in Godaddy:

Could you please take a look and add the custom domain if this is the correct setup?
The DNS doesn't seem to be set up correctly. When I use
dig app.oktale.com in my terminal, I'm returned:
sorry didnot save in godaddy. could you please check now
Alright, looks to be set up now. Let me add the custom domain to Cloudflare on my end
Done
lol thank you!
No problem!