Connecting your domain by using Google Firebase
Google Chrome announced that they are going to show “Not secure” message on their address bar from this October, if Chrome trying to enter URL with ‘HTTP’. Most of the major websites, such as Google, Twitter, Facebook — were already move their protocol to HTTPS.
However, with Firebase, you can get your own SSL certificate(for free!), and you don’t need to worry about ‘Not secure’ message even if you don’t have your own SSL certificate right now.
Create a new project
With your Google account, you can create a Firebase project at Google Firebase.
Dialog shows up after you click “Add project” button. You can name your new project and select your country here. I selected “South Korea”, But I recommend you to select the country which has the best CDN server located(and of course, the nearest country!)
You must setup your local directory first, because it’s based on Commend Line Interface of Node.js, not like a FTP server or Web hosting manager.
After this, click the “Connect domain” button to start connecting your domain to Firebase. In this step, you need your own domain, or domain to redirection.
In my case, my DNS provider is “GoDaddy”. So I added the TXT record on my DNS provider’s DNS setting.
Next thing to do is bringing your assets into your directory, which you’ve setup on terminal. In my case, I set my public directory as “public” folder(default). And then, on your Terminal, type a line of commend below.
That’s it! Now you have to wait for 5 mins to 2 hours for Firebase to applying your domain’s settings. Before that, uncomfortable screen may come across to you — when you’re trying to enter your domain, like
I did this for my design portfolio website, cause I don’t want to make my visitors get scared by “Not Secure” message on Chrome(seriously!).
and after 30 mins…
Hope this can help you, especially for people who are ‘non-professional’ in programming fields like me. Thanks!
p.s.
Visit my portfolio here! and Github link