Can someone please guide me how to change the nameservers of my domain on cloudflare to point to my
Can someone please guide me how to change the nameservers of my domain on cloudflare to point to my hosting server from siteground?
you can copy it from the Site Information → Website IP.
To prevent domain hijacking, you can no longer preset Cloudflare nameservers at your registrar before creating the respective zone in Cloudflare. If you preset your nameservers and then add the domain, your domain will be assigned a new pair of nameservers.
it returns an errorwhat is the error?
dash.cloudflare.com/ACCOUNT_ID/pages/view/PROJECT/DEPLOYMENT_ID where the deployment ID looks something like a398d794-7322-4c97-96d9-40b5140a8d9b).pages_build_output_dir in wrangler.toml is resolving to a path thats outside the output directory, please check your configuration/main to main?Error: Output directory "main" not found.Cloudflare Pages is for static content (HTML, CSS, JS, images and other such files). It will not run a webserver such as Express, Koa or the likes. If you're using those to serve static content then you can just remove that part and use Pages!
If you're doing more dynamic content you can use Functions (https://developers.cloudflare.com/pages/platform/functions). It will run code on request (so still not a webserver in the conventional sense). This would allow for more dynamic content though especially with KV (Key Value storage) and Durable Objects (transactional data storage). Functions are natively integrated with Pages so are super easy to get up and running along your website.
Otherwise, a good old VPS or dedicated server from one of the many hosts out there is for you.
dash.cloudflare.com/ACCOUNT_ID/pages/view/PROJECT/DEPLOYMENT_IDa398d794-7322-4c97-96d9-40b5140a8d9bpages_build_output_dirwrangler.toml/mainError: Output directory "main" not found.