My org (small one) bought domain name from goDaddy and until last month we were using…
- User
My org (small one) bought domain name from goDaddy and until last month we were using nameservers provided by them, but then we moved to cloudflare's nameservers. Now I want to add a subdomain which will serve another version of my application (laravel), from another directory. Basically I want to setup a sstaging environment. how can I do that?
Assistant
To set up a subdomain for a staging environment on Cloudflare, follow these steps: Log in to Cloudflare: Access your Cloudflare account. to DNS Settings: Select the domain for which you want to create a subdomain and click on the DNS tab. Add DNS Record: Click on Add Record. Choose the record type (usually A or CNAME): For an A record, enter the subdomain name (e.g., staging.yourdomain.com) and the server's IP address. For a CNAME record, enter the subdomain and point it to another domain if applicable. Save Changes: Click Save to apply your new DNS record. Configure Your Application: Ensure your Laravel application is set up to respond to requests at the new subdomain. This will create a staging environment accessible via your chosen subdomain.cyberpanel+2 Share Export Related How do I set up a CNAME record for my subdomain in Cloudflare What are the steps to configure DNS records for a subdomain in Cloudflare Can I use Cloudflare's free plan to manage my subdomain How long does it typically take for DNS changes to propagate after switching to Cloudflare What should I do if my live site breaks after switching to Cloudflare's nameservers