← Back to home

How I Built & Deployed My Portfolio Website

Website from Claude

I asked Claude to make a relevant portfolio website. I provided my resume so that it would know my qualification and details. I also provided my photo to attach to my website so that everyone knows my identity.

Portfolio website generated by Claude

Finally, it gave me a pretty portfolio website. I downloaded it and unzipped that file.

Domain Registration

I searched "Nepal's official .np registration" in Google and opened it. Here, I searched the domain name "nikitabhusal.com.np" for my website to see if it was available or not. It was available so I proceeded. First of all, I went to the user login.

np domain registration login page

I entered my email address and password to create a user.

Creating a user account

And I successfully created my account.

Account created successfully

I got an email to verify:

Verification email

After verification, I searched my domain name and clicked on register now.

Domain search and register

After that, I was asked for two name servers: primary name server and secondary name server.

Nameserver fields

I didn't have hosting yet so I used Cloudflare to get free nameservers that I could use for my domain.

I created an account and entered my domain name in Cloudflare.

Adding domain to Cloudflare

After that I clicked continue and got two nameservers.

Cloudflare nameservers

Then I went back to the .np registration site and entered that nameserver here,

Entering nameservers on np registration site

I also had to fill some credentials below the nameserver fields:

Registration credentials form part 1 Registration credentials form part 2

Then I had to upload my documents like citizenship, cover letter and birth certificate. The file size had to be under 200kb, and it accepted only image files.

Document upload for domain verification

Finally, my domain got approved.

GitHub Setup

Here, I went to GitHub and signed in. I created a new repository and uploaded my files one by one. I made my repository visibility public.

Creating a new GitHub repository

After that I went to settings, then Pages, then in custom domain I entered my domain name and saved it. After saving, GitHub showed "DNS check in progress".

GitHub Pages custom domain DNS check in progress

Then I had to go to Cloudflare again (while logged in) and click on my domain name, then click DNS records.

Cloudflare DNS records navigation
Cloudflare DNS records page

After clicking DNS records I could see a page like this (it will be empty in yours — I had already set up mine):

Cloudflare DNS records list

Then you have to click add record and enter three IPv4 addresses one by one, of Grade A with different networks. For the name field you write "@" and the proxy status should be off, then save it. You add three records this way.

Adding A records in Cloudflare

Then it looks like this:

Cloudflare DNS records after setup

After that, wait for GitHub to verify the DNS — it usually takes 5–10 minutes. Then enable HTTPS. You'll see a checkbox under custom domain — tick it.

Enable HTTPS checkbox on GitHub Pages

After that it will show a message like: "DNS valid for primary." This means GitHub has successfully verified the DNS for the root domain.

Then I tried searching my domain name in Google, and it showed up successfully.