---
title: "Discussion on \"How to Add Dynamic Subdomain in Rails Application\" | Hashnode"
description: "Discussion on \"How to Add Dynamic Subdomain in Rails Application\". For those who want to implement subdomain programmatically within your rails application, you can follow these few steps:\n1. Generate Account Model\nFirst, let’s create an Account model as a table to store subdomain names that we will accept in our ap..."
url: "https://hashnode.com/posts/how-to-add-dynamic-subdomain-in-rails-application/5e4dd87a205a551d167e90ef"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to Add Dynamic Subdomain in Rails Application](https://blog.absyah.dev/how-to-add-dynamic-subdomain-in-rails-application?utm_source=hashnode&utm_medium=feed)

For those who want to implement subdomain programmatically within your rails application, you can follow these few steps: 1. Generate Account Model First, let’s create an Account model as a table to store subdomain names that we will accept in our ap...

May 17, 2022 · 2 min read · blog.absyah.dev  
Updated May 17, 2022  
Read the article

-   [#ruby](https://hashnode.com/tag/ruby)
-   [#ruby-on-rails](https://hashnode.com/tag/ruby-on-rails)
-   [#backend](https://hashnode.com/tag/backend)

## Written by

[Ardian Bahtiarsyah](https://hashnode.com/@absyah)

@absyah · Indonesia

  
[View profile](https://hashnode.com/@absyah)

I'm building things with code

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
