I have a Firebase project with Hosting enabled. My default url (given by Firebase) is
<PROJECT_NAME>.web.app. How can I also deploy to dashboard.<PROJECT_NAME>.web.app? I want authenticated users to be able to see this special dashboard.<PROJECT_NAME>.web.app url.
Whenever I try adding this as a custom domain, Firebase asks me to add some stuff regarding to web.app, which I can't.
Note: I am using React for my project.
You don't get any control over the web.app subdomain that's automatically created for your project. That is entirely managed by Google. If you want to customize a domain, you will have to register one of your own and manage its DNS for use with Firebase Hosting as described in the documentation.
Related
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
I have a firebase project that serves live users through a custom domain. I need to move the custom domain to the new version of application that is running in a different firebase project. If I delete the custom domain and add it in another firebase project, how much time will it take to reflect the change? How do I minimize the downtime?
Checked with Firebase support. This can be done without downtime. Here are their instructions:
To delete your custom domain from the project, follow these steps:
Go to the Firebase Hosting console for your project, you will see
your domain.
Hover over your domain.
There's an overflow menu (three vertical dots) on the right. From the overflow menu, select "Delete Domain"
When you delete a domain, we don't immediately remove the domain from
our backend. This is because most of the time developers are moving
their domains from one project to another, and this feature allows us
to re-provisioned the SSL certificate quicker.
I was able to delete and add the domain to another project without any downtime. Thanks to the firebase team for being so thoughtful.
If it is just about moving the custom domain (no user sessions), and making a couple of other assumptions, like: the account used to verify the custom domain belongs to both Firebase projects, and that same account will move the domain, the change should be almost immediate, close to zero downtime. You should give it a try with a test domain, it's pretty straightforward.
If the goal is to have zero downtime, better ask Firebase Support to see if it's doable and how to do it.
I am setting up dynamic links with custom domains using firebase for unity. In the documentation here, https://firebase.google.com/docs/dynamic-links/ios/receive#open-dynamic-links-in-your-app, I can see that I need to add plist entries to the FirebaseDynamicLinksCustomDomains
key to whitelist these domains in my app.
My question is if I can use a wildcard subdomain here, as my setup includes dozens of custom subdomains, some of which may be created after the app has shipped.
FirebaseDynamicLinksCustomDomains
https://*.firebaselinks.example.com/links/
Will this work to allow opening the app from any subdomain on firebaselinks.example.com ?
I've implemented all the Firebase Requirements in order to use Dynamic Links with my custom domain. The A records, and the TXT information are both added, however now my website is not working.
My Firebase Hosting tab tells me that the www.mydomain.com is connected, however the image above tells me otherwise, here's my Firebase Hosting information:
Here's my DNS information on my Wix page
Note: Sorry about the heavy editing, I don't know exactly what is and what is not sensitive information
I have added custom domain in firebase hosting and still I am able to access the default domain created by firebase. I want to remove that default domain for SEO perspective. How do we remove it?
firebaser here
There is no way to remove the *.firebaseapp.com domain from your Firebase Hosting app.