Hosting platforms

  1. Vercel
  2. Netlify

https://www.reddit.com/r/nextjs/comments/z9iomc/vercel_vs_netlify_which_is_more_costeffective/

Setting up a website using Vercel

  1. Set the domain name in Vercel
    1. It will instruct you to add CNAME to your DNS provider.
    2. Login to namecheap or google domains or wherever you bought your domain from and add the CNAME record provided by Vercel to that domain.
    3. After this is done, Vercel will refresh the entries and will try to serve the website using that domain.
  2. If the website is using quartz Follow directions to host the quartz website using Vercel
    1. https://quartz.jzhao.xyz/hosting#vercel
    2. Create vercel.json
    3. In Vercel, go to the project, go to settings and search for Framework and then, follow the instructions.
    4. After the deployment, the website should be live.

Setting up a custom deployment using Vercel

Specifying the build tool

If Vercel doesn’t auto-detect it, we can specify it using Framework Preset

Using a custom build command

Tags

  1. Domain Name System