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. This allows you to efficiently administer your domain and compute resources together in one place—Lightsail. You can create up to three Lightsail DNS zones. If you require more than three DNS zones, because you manage more than three domain names, we recommend using Amazon Route 53 to manage the DNS of all of your domains.
Step 1: Complete the prerequisites
This tutorial provides a walkthrough of the process for registering a domain, setting up a sample web server, and using Cloud DNS to point the domain URL to the server. There is a cost associated with registering a domain name. For Google Domains pricing, see Pricing and supported domain endings. For Cloud Domains pricing, see Cloud Domains pricing. Go to project selector. Make sure that billing is enabled for your Cloud project. Learn how to confirm that billing is enabled for your project. Enable the API.
Register a New Domain Name
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. Firebase Hosting requires that you keep this TXT record continually present in your DNS settings to prove your ownership of the domain and to authorize Firebase to assign and renew SSL certificates for your site. Host : Enter your apex domain key. Proving your ownership of an apex domain, or root domain, proves your ownership of all its subdomains.
In the same way that a GPS needs a street address or a zipcode to provide directions, a web browser needs a domain name to direct you to a website. A domain name takes the form of two main elements. For example, the domain name Facebook.