Unable to add domain name firebase hosting - firebase

I have purchased the domain name as domain-name.in.net from bigrock. But adding custom domain name in firebase, it only considering in.net and not considering domain-name.
Any solutions guys?
Due to above issue i am unable to verify ownership in firebase.

In the hosting section of the Firebase console, enter in the custom domain name of "domain-name.in.net". In your hosting provider add the A record with the IP address. Wait up to 24 hours for the record to propagate.
The subdomain should now correctly go to your Firebase app. Note, if you're concerned about the console saying "needs setup", ignore. It always says that and seems to be a bug with Firebase.

Related

Firebase hosting does not deploy on custom domain

i've deployed my app on firebase hosting and then i have bought a custom domain from Google Domains.
Then i have proceeded in this way:
Go to firebase hosting control panel
Click on Add Custom Domain
Then add my domain in like this my-domain.com
So, at this point firebase give me an A Type Record to add to my dns configuration in google domains that look like this: google domains setup
I leave empty the host name input, then i add google firebase ip infos in "value" input and save both on firebase and google domains.
But nothing happen.
Firebase told me that i require a configuration and domains says that is all okay.
firebase and domains response
It will take some time, usually in the magnitude of minutes (rather than hours, and certainly not days) to start working, but looking at the "google domains setup" screenshot, I believe there is an issue with the DNS setup as the screenshot shows an incomplete configuration.
For anyone else looking to resolve this, I will write the complete steps to help resolve the issue, for Firebase and Google Domains: retrace these steps, since any one of them could be the source of the issue.
First on Firebase Hosting:
Click add custom domain
Enter the custom domain or subdomain in the provided input box (note the difference!)
Lastly firebase will show a screen with details of how to configure the DNS. The "quick setup" is sufficient for new sites. It will look like this:
The next step is to enter this information into the domain name provider's console, in this case Google domains.
On Google Domains console:
Go to DNS configuration, then "custom records" section
Since this is a newly registered domain, there should not be existing records, but otherwise see the blue star note above: "Remember to remove..."
"create new record"
To get this last part correctly requires paying attention to the difference in how to configure domain/subdomain, so I will present them separately to highlight the difference:
Option A) subdomain configuration e.g. www.mywebsite.com
The entry in the DNS configuration should look as follows, where the data is the IPv4 address from Firebase. Note for "host name", enter the subdomain-part only:
Host name
Type
TLL
Data
www
A
3600
255.255.255.255
Option B) domain name configuration e.g. mywebsite.com
The host name entry is intentionally left blank, and data is the IPv4 obtained from Firebase.
Host name
Type
TLL
Data
A
3600
255.255.255.255
Save the DNS changes then wait. If you return to Firebase hosting, it may say "needs setup" ... then "pending" ... while these changes are being propagated and waiting for a SSL cert to be provisioned. The state should say "pending" very soon after applying the DNS changes (< 5 min).
Check the (sub)domain periodically in the browser, to see when it starts working (it took me about 20 minutes to give you some anecdotal metric, and it started working before the "pending" label had been resolved in Firebase). Eventually Firebase will switch the state label to "connected" to complete the configuration.

How to change the default Firebase Auth actions domain to my custom domain?

How to change the default Firebase Auth actions domain to my custom domain? I want to change it from reply#project-name.firebaseapp.com to reply#app.example.com but with another verification method for the domain rather than adding TXT & CName records to my DNS configuration.
I want something simple as adding a .txt file with the other project files and uploading it to the hosting. That's all because my current hosting doesn't support the TXT & CName records.
By the default Firebase Auth actions, I mean the password reset email, email verification, email address change, etc.
As a follow up to our discussion in the comments,
Since your project is being hosted on a Netlify subdomain, I found the following in their documentation:
To add a new DNS record:
Go to the Domains tab for your team.
Select the domain you want to edit.
At the bottom of the DNS records panel, select Add new record.
Choose the type of record to create from the menu and fill in the remaining options. The fields you need to fill out will depend on the
type of record you select.
Select Save to create the record and make the changes live. Remember, it may take up to a few hours for record changes to
propagate.
Note that you can host records for other services, such as your mail
provider or your backend API, with us as long as you host at least one
website with us that uses the domain.
If this isn't allowed, I would suggest getting a custom domain, and pointing both Firebase and Netlify to it. It's more professional than a hosted subdomain, and it'll stay yours forever. Doing a quick search, I found plenty of interesting and currently available domains relating to msk-apps.

Firebase hosting not validating TXT record in GoDaddy

I deployed my app and now I'm trying to add my custom URL. I followed Firebase's instructions and added their TXT record to my DNS (GoDaddy). But now Firebase is saying it's still not verified. I assume I'm doing something wrong, but there's not much here to mess up...
Per my comment above, the solution was to use the # sign in the Name column of GoDaddy, not the actual name of the domain that is owned.
To add a bit more information to this great solution for future reference.
DNS propagation can be monitored using a service like:
https://www.whatsmydns.net/
This will show you when your records are ready, thus can be verified by firebase.
As for subdomain, ie.
beta.example.com
The value would be 'beta' instead of '#' or 'example.com' for the godaddy DNS records.
TXT GoDaddy TTL time is approximately 2 hours, Please re-verify after 2 hour firebase.
I see you fixed your problem but for anyone trying to link their godaddy domain with the reset password/ verify email service in Firebase Auth you need to remove your domain name from the CNAME record name.
Firebase gave me firebase2._domainkey.mydomain.com and in godaddy CNAME record name I only used firebase2._domainkey and it verified my domain.
In case you have to set up the acme-challenge for your https certificate you probably may get something like this:
_acme-challenge.domain.com
just remove domain.com
in the case, you might have a subdomain
_acme-challenge.subdomain.domain.com
change it only to
_acme-challenge.subdomain
it will work in a couple of hours
For TXT records use # for host instead of mysite.com
and for
A record, if it is subdomain, just add subdomain in the place of host. for example, https://subdomain.mysite.com => just add "subdomain" in Host of your DNS records in godaddy.

Firebase Auth CNAME update requirement without top domain

I've recently received an email from Firebase, that in order to use authorization service email templates without them falling in spam folder, I need to add new CNAME records to custom domain defined for that Firebase app.
However those records are in format: firebase2._domainkey and not firebase2._domainkey.my-custom-domain-name-something.com
I didn't know it's possible to add a record in DNS that doesn't involve domain name itself.
Is this a documentation error or I'm missing something?
Don't worry, you only have to include the partial domain. The fully qualified hostname will have the custom-domain-name-something.com appended to it.
You can check out this small tuto for more info

Find gmail account associated with Wordpress google cloud project

I had multiple gmail accounts for project hosting on google cloud (Bad management). Now after more than 1 year I want to remove the project from google cloud.
I am struggling with finding the Cloud project ID as I am unable to find the gmail account associated with that project.
Project is basic Wordpress blog site - successfollows.com
and I dont have wordpress username and password either.
Any help would be great.
You can go to http://www.successfollows.com/wp-login.php?action=lostpassword and try your emails one-by-one. If it gives "ERROR: There is no user registered with that email address." error, skip to the next email. When you at last enter correct email, it will give success message about "Email has been sent".

Resources