Launch a website for free.

website.jpg

Being able to launch a website for free* is really easy these days.

I prefer writing vanilla HTML / JS / CSS. But to make my life a bit easier, I think I’ll be switching over to using Cactus.

 Developing your site

 Launching your website

When it comes to deploying your website for the world to enjoy, you have a couple of options.

Options #1: Use github pages. This is a great option for people who are comfortable using git. Basically make a gh-pages branch, and commit your website to that branch. It’s really easy, simply follow the instructions on the website. This option is great for having a simple blog, or hosting small documentations for your open-source projects.

Option #2: Use Surge. This is by far my favorite way. Have Node.js installed on your computer, and run the following command in terminal: npm install --global surge. Now, you should have access to the surge command. Simply cd into your website folder, and run surge. After entering in some basic account information, your website will be uploaded and hosted for free. Every time you make a change to your static website, simply re-run sruge. I’m using sruge right now to host my shahzeb.co website. What’s impressive is that even the images are hosted on surge.

coding.jpg

 Getting a custom domain

*Hosting is for free, but having your own domain will likely cost a little. Out of all the domain services I’ve used, namecheap is the easiest to deal with. (You can find rad coupons for namecheap here). After you have gotten your custom domain, you can follow these instructions to change the host files for github-pages and for surge.

Support this blog by checking out namecheap.

I hope you found these tips helpful.

 
5
Kudos
 
5
Kudos

Now read this

3 apps that every college student should use

These apps will super-charge your life. They’ll make you more productive than you’ve ever been. They’ll pretty much write that 900 word essay you’ve been procrastinating on. Here’s a list of 3 incredibly sexy apps that are available on... Continue →