---
title: Setup your app on Google Domains with Layer0
description: How I pointed rishi.app on Google Domains to a Next.js app on Layer0, with the DNS records and TLS setup for the apex domain.
url: https://rishi.app/blog/managing-your-app-on-google-domains-with-layer0
author: Rishi Raj Jain
published_at: 2021-06-12T20:01:58.000Z
updated_at: 2021-06-12T20:17:11.000Z
---

# Setup your app on Google Domains with Layer0

So recently, I bought [rishi.app](https://rishi.app/index.md) with [Google Domains](https://domains.google/), and it was super easy to get [my portfolio](https://github.com/rishi-raj-jain/rishi.app) to production with [Layer0](https://www.layer0.co?ref=rishi-raj-jain) as the developer-first deployment platform, and obviously [Next.js](https://nextjs.org) the #1 react framework (well for me)!

## Why Layer0 for deployment?
- [Framework Independent](https://docs.layer0.co/guides/overview#section_react__vue__and_angular?ref=rishi-raj-jain): Layer0 supports the most widely used technologies for building progressive web applications. React, Next, Vue, Nuxt, Angular, Sapper, Gatsby, Razzle, even Static HTML/JS!
- [Real Time User Monitoring](https://docs.layer0.co/guides/core_web_vitals#section_npm_or_yarn?ref=rishi-raj-jain): One line code to measure Real-Time Core Web Vitals!
- [EdgeJS](https://www.layer0.co/edgejs?ref=rishi-raj-jain): Clear caches, define own CDN rules, and cache splitting. Seems like a lot of power to developer already?
Find many more reasons at [https://www.layer0.co/products](https://www.layer0.co/products?ref=rishi-raj-jain)

## Why Next.js as my #1 React Framework?
- Incremental Static Regeneration, Pre-Rendering, Server Side Rendering (SSR): The performance-first configurations integrated intuitively. Read More On https://nextjs.org/docs/basic-features/data-fetching
- Automatic code splitting: The best [automatic code splitting](https://nextjs.org/blog/next-9-2#improved-code-splitting-strategy) till date.
- Hot Module Replacement (HMR): A fast refresh [100ms faster](https://nextjs.org/blog/next-10-1#3x-faster-refresh) than fast refresh itself.

## Configuring Google Domains with Layer0

### Steps on Google Domains
1. Add a synthetic record for subdomain forwarding:
![Synthetic record for subdomain forwarding in Google Domains](https://rishi.app/assets/blog/managing-your-app-on-google-domains-with-layer0/image-1.webp)
 
2. Add custom resource records for automatic TLS certification and hosting it on the apex domain:
![Custom resource records in Google Domains](https://rishi.app/assets/blog/managing-your-app-on-google-domains-with-layer0/image-2.webp)

### Steps on Layer0
1. Deploy Your App (Or deploy an example [Deploy To Layer0](https://app.layer0.co/deploy?repo=https%3A%2F%2Fgithub.com%2Flayer0-docs%2Flayer0-nextjs-examp))

2. Add domain in the settings tab of your project
![Adding a domain in the Layer0 project settings](https://rishi.app/assets/blog/managing-your-app-on-google-domains-with-layer0/image-3.webp)

3. Configure TLS
As you've already added the custom resource records, just click on Generate SSL
![Generating an SSL certificate in Layer0](https://rishi.app/assets/blog/managing-your-app-on-google-domains-with-layer0/image-4.webp)

All set 🚀. Feel the speed now 🏎.
Feel free to drop any feedback in comments!

---

This is the Markdown version of https://rishi.app/blog/managing-your-app-on-google-domains-with-layer0. Every page on this site is listed with a summary at https://rishi.app/sitemap.md.
