šŸŒ Domains and hosting?

šŸ”„ If you are not a technical user/developer, I recommend using Vercel. Now you only need WordPress and Vercel. Vercel will provide you with hosting and a free domain included. You can deploy your Next.js website with Vercel in a few clicks.

Do I need 2 hosting and 2 domains to host my website?

Certainly, in the context of a Next.js website with a headless WordPress setup, you will typically need two separate hosting environments and two domain names to host your website effectively:

  1. Front-end Next.js: This is the user interface portion of your website, built using Next.js. The front-end will be hosted on one server (hosting environment) and may use a dedicated domain name.

  2. Back-end WordPress: WordPress serves as a content management system (CMS) and provides the API for your website's data. WordPress will be hosted on a different server (hosting environment) and may use a separate domain name.

So, you will need:

  • Hosting for the front-end Next.js: This is where you will store the source code and files for your Next.js website. You can use a hosting service or a virtual server to deploy Next.js. You will configure your own domain name for the front-end. šŸŒŸ If you have no idea about this hosting, I recommend using Vercel, it will be great for your start - https://vercel.com/

  • Hosting for the back-end WordPress: WordPress will be hosted on a separate server. This could be the same server with your WordPress installation or a dedicated server for your WordPress project. You will also configure your domain name for the back-end.

Last updated