Website Deployment Process

Website Deployment Process


deployment cloudflare github dns performance

Website Deployment Process

This deployment workflow demonstrates a professional and repeatable approach for taking a website from source code to a live production domain using GitHub and Cloudflare.

1. Registering a custom domain

The first step was registering a free custom domain from register.com.np. After selecting an available .com.np domain, I completed the provider’s domain verification process. This validation is essential to confirm ownership, activate the domain, and ensure the registrar will allow DNS changes and external service integration.

2. Verifying domain ownership

Once the registration details were submitted, the domain provider reviewed the information and approved ownership of the domain. Successful verification ensures the domain is properly associated with the rightful owner and clears the path for DNS configuration and deployment.

3. Creating the Cloudflare account

After domain approval, I created an account on Cloudflare and added the verified domain to the Cloudflare dashboard. Cloudflare serves as a central control point for DNS management, security policies, and automated deployment.

4. Configuring DNS records

Cloudflare provided the required DNS records for the domain, including values for the root domain and any necessary subdomains. I entered those records into Cloudflare’s DNS editor exactly as provided. This step directed the domain to the deployment and content delivery infrastructure, allowing the site to resolve correctly from any browser.

5. Storing source code in GitHub

The website source code was stored in a GitHub repository to track changes, maintain history, and enable collaboration. GitHub provides a robust version control platform that protects the project with commit history, branches, and rollback capability.

6. Committing and pushing website updates

Whenever the website changed, I used Git to add, commit, and push the updated files to GitHub. This workflow preserves every revision and ensures there is a documented history of improvements, bug fixes, and content updates.

7. Connecting Cloudflare to GitHub

Cloudflare was then connected to the GitHub repository through its build and deployment integration. This connection allows Cloudflare to monitor the repository for new commits and automatically trigger a new deployment whenever the codebase changes.

8. Automated rebuild and redeploy

With the GitHub integration active, Cloudflare automatically detected new commits and rebuilt the website upon each push. After a successful build, Cloudflare redeployed the updated site without manual intervention, providing a streamlined continuous deployment flow.

9. Delivering the site through the custom domain

After deployment, the website became accessible through the custom .com.np domain. Cloudflare handled the DNS resolution and traffic routing, ensuring the domain pointed to the newly built site and that users could access it reliably.

Benefits of GitHub and Cloudflare in this workflow

  • GitHub version control: Using GitHub ensures every change is tracked, reviewable, and reversible. Branching, pull requests, and commit history make it easy to manage development work and maintain a clean production history.
  • Automated deployment: Cloudflare’s integration with GitHub removes the need for manual publishing. Every code push triggers a rebuild and redeploy, reducing deployment risk and accelerating the release cycle.
  • DNS management: Cloudflare centralizes DNS configuration and propagation, making it easy to update records, verify domain settings, and manage traffic for production domains.
  • Security: Cloudflare adds protection with SSL/TLS support, DDoS mitigation, and traffic filtering. This improves the site’s security posture and helps protect the domain from malicious traffic.
  • Performance optimization: Cloudflare provides caching, content delivery, and performance enhancements. These optimizations reduce latency, speed up page loads, and improve the overall user experience for visitors worldwide.

Summary

This deployment process combines a verified custom domain, GitHub source control, and Cloudflare automation to deliver a reliable website deployment pipeline. The result is a production-ready site that updates automatically, stays secure, and performs well under real-world traffic.

© 2026 Suyog Jung Karki