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.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!