Dynamic Links - can we use the same domain as for firebase web hosting?

3,177 views
Skip to first unread message

Tadej Dev

unread,
Jun 6, 2020, 4:28:11 PM6/6/20
to Firebase Google Group
Hey,

I'm trying to set up dynamic links to use the same domain as I use for firebase hosting but I can't since I get this error: "It looks like you already have content served on this path. Specify a different path prefix to avoid conflicts with existing content." I'm trying to use `staging.domain.com/redirect` as dynamic link, but it looks like this won't work since 'react-router-dom' is redirecting that URL to a 404 page. Is there a way around?

Beside sub-domain that I'm using for for hosting, I've also tried to use a newly created sub domain `links.domain.com/redirect` and I've added DNSs to my cloud flare, but seems like google won't automatically provide SSL certificate for 3rd domain I've added, since I'm getting "Error 526: Invalid SSL certificate" Does google/firebase provide SSL for extra subdomains added or is that somehow limited? I think both my production (domain.com) and staging (staging.domain.com) got a certificate when I added them.

Thanks in advance.


Tadej Dev

unread,
Jun 8, 2020, 8:11:39 AM6/8/20
to Firebase Google Group
I was able to get my domain URL accepted by replacing my original rewrite with ones bellow:
"appAssociation": "AUTO",
"rewrites": [
{
"source": "/links/**",
"dynamicLinks": true
},
{
"source": "!/links/**",
"destination": "/index.html"
}
],

...however, I'm still getting this error:

There was a problem with your DNS configuration, check this configuration in Firebase Hosting. Note: it could take up to 24 hours for your DNS configuration to reflect recent changes.

I've had my hosting configured for some time, so I already had DNSs for domain there (I've double checked and dynamic-links gave me the same IPs as I had there for hosting).

Any suggestion about why I get that error or how to debug this issue?

Bryan Kendall

unread,
Jul 10, 2020, 12:07:39 PM7/10/20
to fireba...@googlegroups.com
Hi Tadej,

I'm on the Firebase Hosting team. To debug this, take a look at the Hosting pages in console. All the domains (and subdomains) that you're using for this project should be added to Hosting so that dynamic links can connect to them. You may be able to see where they are stuck in that view.

If you're still stuck, please create a support ticket and send me the case id (found in the auto reply subject)"? I can better support you through that channel.

Bryan

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/b90f5855-5904-4e32-a34b-9cd3e85e9d58o%40googlegroups.com.


--
Bryan Kendall | Software Engineer | bk...@google.com
Reply all
Reply to author
Forward
0 new messages