Back Story

Today I, hosted my blog on public facing internet.

Yeah! I overcome my introvert-ness and share my taught with others out in the wild.

I searching for hosting it for free; wait a min, I own a server now but I searching for hosting service before you asking me why let me explain you why i decided this.

I assume that you know about IP address, nowadays ISP’s didn’t provide us (users/customers) with public IP instead they assign us a private IP Address using Network Address Translation (NAT).

This means if the users host a site people from other networks can’t access the site.

We can buy a static IP from ISP, that cost money though (I’m not ready to yet).

The other options are tunnelling, reverse proxies something like that i already used ngrok like tunnels to expose the local server but in free tier the domain is not consistent.

If you know ngrok, now you may ask they provide a single domain even for single domain and i know that too and have that too.

The reason i’m not using it is the warning when opening the site for first time i don’t want that.

There are other services like, - page kite (domain inconsistency). - cloudflare (require credit card).

So that i reason for searching hosting service.

How I Host the site ?

Now come to the point, how i host it, i have three solutions in my mind - GitHub pages - ?? - ??

Really i don’t have anything other than GitHub pages in my mind.

So i start surfing the internet to find other that GitHub pages cause i don’t want this on GitHub i don’t know why but i did.

I found infinityfree.com they provide free hosting and database what a generous site.

I actually used them in past i think so i’m way too familiar to the site. I tried to host and hosted it successfully it’s just upload the file to htdocs/ folder in the ftp server that they provide.

But the problem was the posts page trying to load but connection time out i don’t know why, cause the server or i messed up something or incorrect URL in Hugo config but the index page work flawlessly.

I can’t use them. so i find another one name surge.sh.

It works flawlessly i downloaded them “CLI connector app” and logged in with my credentials app asked me the folder i wanted to host and subdomain i need then it automatically uploaded the web page content to their server and gave me back the URL.

the URL is <bytelog.surge.sh>

How to

Requirement: - npm

in your terminal

	npm install surge --global

after installation, go to site folder

	npx surge
  • This will ask you the email and then password.
  • That step will create you a account if you don’t already have one.
  • Then provide the site directory path.
  • it will ask you the subdomain for the site.

That’s it your site deployed into world wide web now you can access it on <subdomain>.surge.sh.

Meanwhile This

while i surfing the internet i found zen-browser basically i tried to avoid it but one word FOSS and Based on Firefox web Engine actually one word and one sentence these attracted my attention.

I installed it on my machine and started migrating from Firefox exporting bookmarks, etc…

After long time i used different browser so my muscle memories are with Firefox keybindings and layout. zen-browser have similar key binding but the layouts are little bit different.

I rebooted my machine for some obvious reasons.

then, i needed to use browser my hand on its own opened browser by typing on search firefox instead of zen.

Now i understand why hard to change habits. i takes some time for fully migrate to zen-browser.

I keep you updated during my migration, Until then Bye Bye :)