I am using App Platform to host a static site and CloudFlare to manage domains, DNS, CDN, etc. I updated the A record from old IP to new IP listed for my site in App Platform, but when accessing it I get an Error 1000 from CloudFlare saying that IP is prohibited. Any idea what’s going on here?
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!
Heya, @1e6b823ea20d4cb189a34a922f5588
You need to point your domain name using a CNAME rather than an A or an AAAA record.
https://www.digitalocean.com/community/tutorials/how-to-configure-custom-domains-ssl-cdn
Check step 2:
In your App Platform Dashboard, go to Settings → Domains → Edit, and click Add Domain.
Enter your domain (e.g., www.myapp.com) and then select You manage your domain.
DigitalOcean will provide a CNAME record target (e.g., your-app.ondigitalocean.app).
Log in to your DNS provider’s dashboard.
Add a CNAME record:
www (or your subdomain)your-app.ondigitalocean.appSave the DNS record.
Return to DigitalOcean and confirm domain addition.
DigitalOcean will verify the DNS record.
https://www.digitalocean.com/community/tutorials/deploy-apps-with-custom-domain
Hope that this helps!
Hi there,
Can you clarify which IP address you are referring to?
Usually, instead of using an A record, you should use a CNAME record pointing your domain to your app’s .ondigitalocean.app address (for example, yourapp.ondigitalocean.app). That’s the supported setup for App Platform and will work fine behind Cloudflare:
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.