š Domains and hosting?
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:
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.
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