# Build Free website

# Create Github Free Hosting

  1. Go to the GitHub sign up page. Github
github-account-01
  1. Enter a username, valid email address, and password .

  2. Click the “Create an account” button .

  3. Choose a plan. You have two choice: Free and paid, the paid version has private repositories with $7/month. You do not have to any thing , Just click on Continue .

  1. Tailor experience. If you have time, fill in the survey or skip it.

  2. Congratulations! Your Github page created!

  3. Verifiy Your Email Address

  4. Now Login using your credential

  5. Click on import repo as shown in figure

  1. Your old repository’s clone URL to https://github.com/santoshdahal2016/webbootcamp-template as shown in figure
  1. Click on Begin import

  2. Wait for 2-3 minutes , Now you can access your_github_username.github.io website in browser

web-boot-camp-template

# Create Free Domain

  1. Go to dot.tk Dot.tk
  1. Check Required Domain Avialability
domainavailable
  1. Click on Get it Now of your desired domain

  2. Click on Checkout

  3. Set DNS as shown in figure Use DNS > Use Your own DNS and click on continue

Set nameserver :

brad.ns.cloudflare.com and tegan.ns.cloudflare.com

  1. Review & Checkout : Select appropriate Sign in method

  2. Verification Email will send to your email , open email and verify yourself

  3. Add Details and Complete order

Fill `Address 1`, `Zip Code`,`City`,`State/Region`,`Phone Number`

Mark Term and Condition and Click on Complete order

  1. Congratulations! Your Domain Name created!

  2. Now add domain to Github account . Go to github , open your repository and go to setting , Scroll down add your .tk domain as soon below

  1. Go to www.cloudflare.com and click the Sign up link at the top of the page.

  2. Create a Cloudflare account by typing your email address and password. Click Create account now to proceed

  3. Enter the domain for your website and then click Add Site. It's not necessary to add "www" to the domain. For example, if your website is www.example.com.np, type example.com.np

add site
  1. We will scan your domain's DNS records. This will take approximately 60 seconds to complete. Once the DNS scan has finished, click Next.

  2. Select a Free plan and then click Confirm Plan.

  3. You will have empty dns record as shown below

  1. Add two CNAME as shown in picture below
  1. On the final step, you are given the Cloudflare nameservers for your domain. The Cloudflare nameservers are assigned to your domain and listed on this page.

Change Name server of dot.tk domain as Specified

Click Continue.

  1. Congratulations! You've successfully created your new Cloudflare account!

In order to work you must Change Name server of dot.tk domain as Specified and rescan domain in Cloudflare

  1. You can Change Name server of dot.tk domain as follow Management Tools > Nameserver

Congratulation ! Your website must be live

If You faced any error , Please don't forget to comment