Firebase Hosting: How to use domain.com/name instead of domain.com as custom domain name.

My [domain.com](https://domain.com) that I bought from google domains is configured to connect with my main github pages. I would to use [domain.com/web-page](https://domain.com/web-page) as a custom domain for one of my static web in firebase hosting instead of using something like [web-page.domain.com](https://name.domain.com) as my custom domain.

Why not just put my static web in github and use github pages to get [domain.com/web-page](https://domain.com/web-page) instead? Because the \`web-page\` is actually a demo page for my github repository which uses \`web-page\` as it’s name. I strictly don’t want to rename the demo page to something like \`web-page-site\` to host it on github pages since [domain.com/web-page-site](https://domain.com/web-page-site) doesn’t look good.

Technically, is this even possible? Otherwise I just have to accept to use [web-page.domain.com](https://web-page.domain.com) instead.



View Reddit by shrayderView Source

our recommended web hosting companies

NameCheap

website link: namecheap.pxf.io/Alaaeldin.medium

Hostinger

website link: https://hostinger.sjv.io/Jr95Qr

InMotion hosting

website link: partners.inmotionhosting.com/XxJ0Jg

Hubspot

website link: hubspot.sjv.io/DV2O35

Leave a Comment

Your email address will not be published. Required fields are marked *