Setting up ill.my.id with Railway

Getting the CNAME Record

  1. Navigate to the dashboard
  2. Navigate to the project.
  3. Navigate to the service.
  4. Switch to the Settings tab.
  5. Click on + Custom Domain button.
  6. Enter the ill.my.id subdomain you want to use.
  7. Copy the Value field.
  8. For the domain, make the json like this:
{
  "owner": {
    "username": "your-github-username",
    "email": "your-email@example.com"
  },
  "records": {
    "CNAME": "the-value-railway-gave-you"
  }
}
  1. After you have made the file, you should make a pull request.

NOTE

Adding the website preview is mandatory, since the CNAME value Railway gives you doesn’t actually show you the website you are running.