You don't have to give up your unique, brand-centric domain names with Firebase Hosting. You can use a custom domain like example. Make sure that you've completed the "Get Started" wizard from your project's Firebase Hosting page so that you have a Firebase Hosting site in your Firebase project. From your project's Hosting page , enter the wizard for connecting a custom domain:. Optional Check the box to redirect all requests on the custom domain to a second specified domain such that example. These steps ensure that your domain is not already linked with a Firebase project and that you own the specified domain.
A domain name is an identification string that defines a realm of administrative autonomy, authority or control within the Internet. Domain names are used in various networking contexts and for application-specific naming and addressing purposes. In general, a domain name identifies a network domain , or it represents an Internet Protocol IP resource, such as a personal computer used to access the Internet, a server computer hosting a website , or the web site itself or any other service communicated via the Internet.
Set up your domain for Hosting
To route traffic for your domain name, such as example. You can manage the DNS records of your domain using the registrar where you registered your domain, or you can manage them using Lightsail. We recommend that you transfer management of your domain's DNS records to Lightsail.
You can either:. If you already have a DNS infrastructure, or you want to register your own domain name, see Serving an API from your domain name for more information. Because Google Cloud projects are guaranteed to have a globally unique project ID, a domain name in the format. Configuring the. If you prefer, you can register your own domain name. If you need an API for testing, you can use one of the tutorials that walk you through configuring and deploying a sample API. For convenience, the procedure refers to your OpenAPI configuration file as openapi. Typically, you configure the host field and the x-google-endpoints. When you deploy your OpenAPI specification, the text specified in the host field is used as the name of your Endpoints service.