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!).
Firebase Hosting 포스팅에 앞서 본 카테고리는 작년부터 구글이 밀고 있는 Serverless인 Firebase의 Hosting 에 관하여 다룬다. 일반적인 호스팅 서비스와는 다르게 정적 페이지만을 호…namhoon.kim
Firebase는 작년 Google GDG Incheon 행사 때 가서 처음 접했습니다. 많이 들어보셨을거라 생각하는 Google Webengine와 비슷합니다. Google에서 서비스하는것 까지도요… 실시간 데…medium.com