Get a Developer Oriented Domain for Free and Use it with Vercel

A free identity for developers on the web

thedev.id offers a subdomain, yourname.thedev.id for free which is awesome.
A great thing is that thedev.id allows devs to use Vercel.

Actually, I'm using it for my nextjs site that is hosting on Vercel.

Steps you will need are the below.

Step 1. Fork the repo
Step 2. Add your domain to subdomains.json
Step 3. Open a new PR
Step 4. Add yourname.thedev.id to a service(GitHub or Vercel)

Step 1 Fork the repo

Go to the following repo and Click the Fork button to fork the repo.

GitHub logo fransallen / thedev.id

An identity for developers on the web.

thedev.id

An identity for developers on the web.

What is thedev.id

thedev.id is a free identity for developers on the web. This service offers a handy subdomain like foo.thedev.id or bar.thedev.id for use on your static sites via CNAME record. Fork, add subdomain and send a Pull Request. We will make it work.

How to get one

  • Fork this repo.
  • Set a custom domain to your GitHub Pages.
  • Add your subdomain under subdomains.json file.

Make sure you add your subdomain in the alphabetical order.

  • Send Pull Request.


Step 2 Add your domain to subdomains.json

Open subdomains.json and add the following style to the file.

"subdomain(whatever you want to have)": "site url that you are using for the site to host your site"

In my case, the added line is like below.

"koji": "portfolio-nextjs-gdm7chx6i-kojikanao.vercel.app",

All names are ordered alphabetically, so you have to follow that rule.

Step 3 Open a new PR

After editing subdomains.json, you need to push subdomains.json to your forked repo and open a new pull request

There is no specific format for a PR.
The following is my PR.

The review process was very quick. In my case, it didn't take a day.

Add yourname.thedev.id to a service

Go to your project dashboard on Vercel and click Settings tab and select Domains then add subdomain.thedev.id.

The subdomain will work pretty soon!
Of course, it supports https, so you can access your website with https://subdomain.thedev.id.

In terms of GitHub, the process would be similar to Vercel. What you will need to do is to add the domain to your GitHub repo.

Hope you enjoy this!!!

18