Docs / Guides / Firebase Hosting
Firebase Hosting
you.runs-on.dev serving a Firebase Hosting site, over HTTPS, via an A record.
The record
domains/you.json
"records": { "A": ["199.36.158.100"] }Firebase's Quick Setup flow points a custom subdomain at this IP for every project, the same address it shows in the console. Firebase can change it, so if the console shows a different address when you set this up, use that one instead.
Steps
- In the Firebase console: Hosting → Add custom domain →
you.runs-on.dev→ Quick Setup. Note the A record value it shows you. - Fork the registry and edit
domains/you.jsonto the record above, using that value. - Open a pull request. Once merged, the A record is synced to DNS automatically.
How to tell it worked
The Hosting console shows you.runs-on.dev as connected once Firebase has confirmed the A record and issued a certificate, which can take a few hours. Visiting https://you.runs-on.dev should then serve the site.