I have my wordpress website hosted on main domain "example.com" on GoDaddy and I want my NextJs frontend to be shown on main domain, and want wordpress on subdomain or something like that

I have my wordpress website hosted on main domain “example.com” on GoDaddy and I want my NextJs frontend to be shown on main domain “example.com” and want wordpress on subdomain “database.example.com” or something like that.

It’ll be great if I somehow manages to delete wordpress frontend too, and it must be SEO Friendly as it’s going to be a news website

  • So I tried many methods but I was getting server errors and some of them doesn’t works
  • I am hoping for someone to guide me as I’m not getting anything and to be honest I don’t understand how to do it
  • Your help will be appreciated, Thank you!

The internal server errors might be related to some Next.js sites not working well on Netlify.