Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to configure custom domain for links in Branch.io

Tags:

ios

branch.io

How do I set up the custom subdomain for my branch links? Currently I have pointed the cname records to xxxx.app.link and xxxx.test-app.link (I have added 2 CNAME records)

I get the following error when I try to add the sudomain in the dashboard – “Domain not properly configured; please CNAME your domain to ‘custom.bnc.lt’. If you’ve already done this, note that it can take up to several hours to propagate”

Do I have to point the subdoiman to “custom.bnc.lt” If yes, then how will the live and test environment urls be different? Do I have to setup 2 different CNAME records - one for the live version and one for the test version?

EDIT:

It has been several hours since I set up the CNAME records. A simple dig <my custom subdomain> gives the correct result.

like image 315
utkbansal Avatar asked Jul 29 '16 08:07

utkbansal


1 Answers

Alex from Branch here: You should use custom.bnc.lt as the CNAME for your subdomain(s). The Live and Test environments can use the same URL or can be set separately — completely up to you, since our backend takes care of all the routing details. Our guide for this is here, which you might find useful for reference.

like image 77
Alex Bauer Avatar answered Oct 01 '22 07:10

Alex Bauer