How to host a Website for Free
Recommended providers, Deployment steps, DNS Management & Options for a free business email.
Watch the video guide
Prefer a visual walkthrough? Play the video or use the written instructions below.
Skip to written instructions ↓Video guide
How to Host a Website for Free
A step-by-step video guide on how to host a website for free using Cloudflare Pages, including domain registration and CDN configuration.
1. Domain Name Registration
- What is a domain name? - A domain name is the easy-to-read address of a website on the internet, like Google’s google.com. It helps people find websites without needing to remember complicated number addresses called IP addresses. You can purchase domains from registrars or — in some cases — obtain a free domain through government or registrar programs. Below are recommended registrars and the typical steps to claim a free domain in Nepal.
- GoDaddy — https://www.godaddy.com
- Namecheap — https://www.namecheap.com
- Google Domains — https://domains.google.com
- Goto Register Nepal Website.
- Create an account and log in to the registrar's dashboard.
- Search your domain name to check its availability. Try alternatives if your first choice is taken.
- After ensuring the domain is available, click on
Register Nowbutton. - Fill out the registration form.
- Primary name server :
indie.ns.cloudflare.com- Secondary name server :jarred.ns.cloudflare.com- Full name ( पुरा नाम ) : Your Full Name - Country/Region ( देश ) : Choose Nepal from dropdown - Province/State ( प्रदेश ) : Select your province - City ( गाउँ / शहर ) : Enter your district - Address ( ठेगाना ) : Enter your Municipality/VDC, Ward number, and Street address - Email : Enter your email address. - Mobile: Enter your mobile number. - On Technical contact section, tick the checkbox
Copy administrative contact. - Click on
Save & Continueto proceed to the next step. - From drop down, select document type as
Citizenshipand upload a scanned copy of your citizenship card. - From drop down select cover letter and upload the photo of cover letter you prepared. - Note: Image size has to be less than 200KB and jpg format. - If your image is larger or in other formats, convert and resize image with this tool.
- Cover Letter Template:
Date: 2083-06-01
To,
The Host Master
Mercantile Communications Pvt. Ltd.
Durbar Marg, Kathmandu, Nepal
Dear Sir/Madam,
I am writing to request the registration of the domain name
yourdomain.com.npunder my ownership. I have attached the required documents, including a copy of my citizenship card and a cover letter as per the guidelines. Thank you for your consideration. I look forward to your positive response. Sincerely, Your Full Name Signature Note: The domain registration process may take a few days to complete. You will receive a confirmation email once your domain is successfully registered. Follow up with the registrar if you do not receive confirmation within a week or if request is rejected.
Recommended Registrars
Steps to claim a free domain in Nepal
2. Create the Site Repository
- It pre-requite to have a your site's code hosted in a Git repository for seamless deployment to Cloudflare Pages. If you don't have a repository, refer to the guide on How to Create a Personal Website without Coding for detailed steps on creating a GitHub repository and generating your website's content using GitHub Copilot.
3. Deploying the Site to Cloudflare Pages
- Sign up for a free Cloudflare account.
- On left hand pane, search for
Pagesand click onWorkers & Pages. - On right hand pane, click on
Create applicationbutton. - At end of new page, click on
Get Startedbutton. - Select your Git provider and authorize Cloudflare to access your repositories. - OR upload your static files directly.
- Choose the repository you want to deploy and click
Begin Setupat end. - Fill up
Project NameandProduction Branchfields and click onSave and Deployat end. - Wait for the deployment process to complete. Once deployed, click on
Continue to project. - Click on
Visitinside Deployment section to see your live site.
Deploy the site to Cloudflare Pages.
4. CDN and DNS Configuration
- Goto
Custom Domainssection of your Cloudflare Pages project. - Click on
Set up a custom domainand enter your registered domain name. - Click on
Continue - To Add by testing later...
- Cloudflare automatically provides CDN services for your site. You can manage caching and performance settings from the Cloudflare dashboard.
- Enable features like Auto Minify, Brotli compression, and Rocket Loader to optimize your site's performance.
- Use Cloudflare's analytics to monitor traffic and performance metrics for your site.
Configure DNS settings.
Configure Cloudflare CDN.