Connect a Custom Domain Google Firebase Hosting

Поделиться
HTML-код
  • Опубликовано: 18 окт 2024
  • #firebase #hosting #domain
    In this tutorial you will learn how to connect a custom domain to Google Firebase hosting by verifying your domain with Firebase and updating your custom domain host provider DNS settings.
    Note you need to pay charges for your domain every year, only website hosting is free with firebase free Spark plan, this could change in the future.
    Update(15 March 2024 IST Zone):
    I encountered below error, in the firebase console, while new domain setup:
    ( One or more of Hosting's HTTP GET request for the ACME challenge failed: 3.33.130.190: 404 Not Found )
    Solution to above mentioned issue: If you are using Single sign on, to access your firebase/google account, you need to logout from all sessions and login again to firebase console, and this error will disappear automatically. Please, make a note wherever firebase instruction says add host to DNS Record it means you have to use" @" not domain name since you are already editing your domain's name DNS details on the domain provider interface/control panel
    "
    host means '@' symbol and not your domain name like www.xyz.com, this is missing in the firebase documentation.
    Please do let me know in the comments, if you are finding it hard to setup for your hosting provider.
    Another Update as on: ( April 2024 )
    Please don't forget to add the www.
    before your domain name otherwise it will not work earlier it was working with or without www prefix automatically forced, now that feature is missing you need to make sure you have the prefix of www.xyz.com If you use a non www prefix domain name your website would only work with non ww url like xyz.com and not www.xyz.com, and even the SSL certificate will not work, if you have done this before you need add one more entry of your existing domain with www prefix for the same firebase app, you need to verify the domain ownership once again while you do this, adding C name record as prompted inside the firebase console.
    Github
    github.com/edo...
    Donate & Support
    If you find the video of any help in your work, please take some time and donate some food to homeless people around your home or workplace.

Комментарии • 64