Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How many subdomains we can create in Route 53 AWS DNS service?

In my application, I'm giving a subdomain (like user.domain.com) to each account. So, I'm planning to use AWS Route 53 for routing subdomains to my application. Is there any maximum limit of subdomains in Amazon Route 53. Thanks in advance!

like image 720
Narendran Kannan Avatar asked Oct 31 '25 11:10

Narendran Kannan


2 Answers

I'm giving a subdomain (like user.domain.com) to each account

You should revise your application design what If you users reached to million? and what if you want to migrate your DNS in future also subdomain maximum limit varies from service provider to service provider.

So generalize solution cloud be like all subdomain will point to a single endpoint (Load balancer) and your core backend will check DNS and then load custom response base on the domain, normally login page for which you can save custom logo etc against domain name and load these resources base on domain.

High-level architecture

enter image description here

So same case for a big cloud service provider, for example, slack, which provides subdomain for each user but do we think that slack manages route53 record for each users?

enter image description here

how-slack-works

Or you can simply do nslookup, for thousand domain you will get the same backend IP.

slacker:~$ nslookup acmeinc.slack.com
Name:   acmeinc.slack.com
Address: 13.228.49.204

slacker:~$ nslookup www.slack.com
Name:   www.slack.com
Address: 13.228.49.204
like image 72
Adiii Avatar answered Nov 02 '25 23:11

Adiii


The Route53 limits and quotas are listed here.

The limits are not expressed directly in number of subdomains, but rather in number of records and hosted zones, among other things.

Therefore, there is 10,000 records per hosted zone, but it can be increased. Also you can have 500 hosted zones per account.

like image 32
Marcin Avatar answered Nov 03 '25 01:11

Marcin