Just checking to see if anyone knows if this is possible yet. I would like to use a wildcard subdomain with firebase hosting and use functions to parse the subdomain.
No, Firebase Hosting does not presently support wildcard subdomains. It's something that we'd like to do in the future, but there are no timelines or concrete plans to share at this time.
Related
I have an app in Amplify that currently has a custom domain attached. I can access the app fine, all seems to be working good on this, but I just tried accessing the default Amplify subdomain (master.something.amplifyapp.com) and this works also.
I would like to either remove this subdomain or redirect it to the custom domain so that users can only access the app from the custom URL.
Looked through documentation, other questions online and cannot seem to find anything related to this. I only found a delete-domain-association page, but unsure if this is actually the way to do it https://awscli.amazonaws.com/v2/documentation/api/latest/reference/amplify/delete-domain-association.html
Below is how the app looks in domain management:
Is there a best practice on how this should be done? Should it be redirected, should it be removed or something completely different?
Thank you! I appreciate any comment
I have tried looking for similar questions and through documentation.
I am quite new to firebase dynamic links, I was trying to create a firebase dynamic link with a subdomain let's say: apple.page.link, but then it showed an error this subdomain cannot be used by anyone? So what does that mean, are there some certain types of subdomain only that I can use? Do I need to have my own website to create firebase dynamic links?
When adding a subdomain, you need to verify the root domain first.
Please refer to the Firebase Subdomain official documentation:
https://firebase.google.com/support/troubleshooter/hosting/dns/subdomain
Is it possible to use my own FQDN with Firebase Dynamic Links, instead of the subdomain offered by Google below page.link?
Unfortunately it is currently not possible to fully customize the domains of your dynamic links through Firebase. If you have a business need for this, please go ahead and file a feature request with the team. Generally enough demand helps get features prioritized :)
I've got a website hosted on firebase www.example.com. I'd like to serve some functions in the same project from api.example.com.
Rewrites seem to only support directories and not subdomains though. Has anyone been able to accomplish this? Do I have to just use two different firebase projects?
Rewrites won't handle domain names directly. As you say, you can use a second project, and route calls to your API via your custom domain using Firebase Hosting integration with Cloud Functions.
I'm trying to use firebase with different subdomains, but serving the same content.
I've managed to redirect subdomains, but I need to stay routed to it.
When I type for exemple: subdomain.mydomain.com, I'm being redirected to mydomain.com.
I need it to stay on subdomain.mydomain.com.
The subdomain will be created dynamically.
For reference, see the answer from Chris at How do I make a custom subdomain on Firebase?
As it stands this is not currently possible, although it seems to be an often requested feature that they are working on.