DEV Community

loading...
Cover image for Get a Developer Oriented Domain for Free and Use it with Vercel

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

Koji (he/him)
Never lose curiosity Software Engineer in NYC/Research Resident@NYU-ITP18-19 Mostly I work with typescript, javascript, react, and python. code to do something weird/useless/helpful
Updated on ・2 min read

https://thedev.id/

A free identity for developers on the web

Alt Text

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"
Enter fullscreen mode Exit fullscreen mode

In my case, the added line is like below.

"koji": "portfolio-nextjs-gdm7chx6i-kojikanao.vercel.app",
Enter fullscreen mode Exit fullscreen mode

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.

Alt Text

You can follow other people's styles.
https://github.com/fransallen/thedev.id/pulls?q=is%3Apr+is%3Aopen+sort%3Aupdated-desc

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.

Alt Text

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!!!

Discussion (0)