I recently added a custom domain to my Next.js project which is hosted on the App Plattform. Now my site is live on both my custom domain and the default app plattform starter domain (<name>.ondigitalocean.app).
Both domains have the exact same content. I want my custom domain to rank on google, but I’m scared of getting punished by the googlebot, because it’ll detect the duplicate content on these two pages.
Is there any way to disable google indexing ONLY for the site deployed on the
*.ondigitalocean.app domain? Vercel does this for example by adding a X-Robots Tag, is there any way to do something similar on digital ocean?
This textbox defaults to using Markdown to format your answer.
Click below to sign up and get $100 of credit to try our products over 60 days!