the-food-group / sweater-generator

https://sweater-generator.vercel.app
0 stars 0 forks source link

DNS updates for domain #29

Open jonatfoodgroup opened 10 months ago

jonatfoodgroup commented 10 months ago

Sure, I can help you set up a subdomain on Google Domains and link it to a Vercel deployment. It's great that you want to simplify things and improve user experience in this process.

Here are the steps you can follow:

  1. Log in to Google Domains: Go to the Google Domains website and log in to your account.

  2. Select Your Domain: In your Google Domains dashboard, find and select the "thefoodgroup.com" domain.

  3. Access DNS Settings: Look for the "DNS" or "DNS Settings" option in your domain settings. This is where you can configure your subdomain.

  4. Create a Subdomain: Create a new DNS record for your subdomain. For example, if you want to create a subdomain like "app.thefoodgroup.com," you'll create a CNAME record for "app" and point it to your Vercel deployment.

    • Type: CNAME
    • Name: app (or your desired subdomain name)
    • Value: Your Vercel deployment domain (e.g., your-vercel-app.vercel.app)
  5. Save Changes: After adding the CNAME record, save your changes.

  6. Configure Vercel: Now, log in to your Vercel account and go to your project settings.

  7. Add the Custom Domain: In the project settings, find the option to add a custom domain. Enter your subdomain (e.g., "app.thefoodgroup.com").

  8. Verify Domain Ownership: Vercel may ask you to verify ownership of the domain. Follow the provided instructions to complete this step.

  9. Deploy Your Project: Once the domain is verified, deploy your project to Vercel. It should now be accessible via your subdomain.

  10. Testing: Wait for DNS propagation to complete, which might take a few hours. You can test your subdomain by accessing it in a web browser.

With these steps, you should have successfully assigned a subdomain to be a Vercel deployment while keeping your main domain hosted on Google Domains. If you have any questions or run into any issues, feel free to ask for more assistance. It's always great to help fellow developers like you!