Mobile app version of vmapp.org
Login or Join
Shelton105

: Creating unlimited sub domains programmatically through api Note Consider each subdomain as unique application instance For information about application architecture visit https://stackoverflow.com/questions/11272776/using-phusion-p

@Shelton105

Posted in: #Api #Automation #Dns #DnsServers #Subdomain

Note

Consider each subdomain as unique application instance

For information about application architecture visit
stackoverflow.com/questions/11272776/using-phusion-passenger-nginx-running-same-rails-app-with-multiple-instance
I am having one product going to provide to multiple clients with subdomains
client1.product.com to client100.product.com in server 1
with some static ip (x.x.x.1).


After 100 clients server 1 reaches maximum resource load and space, so i am buying another new server putting
client101.product.com to client200.product.com with ip (x.x.x.2) ,

consider i am using premium dns hosting for adding more than 100 A records. Is there any way to automate sub domain creation, by adding corresponding server ip to the A records.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Shelton105

1 Comments

Sorted by latest first Latest Oldest Best

 

@BetL925

It will depend on your DNS hosting is done.

I personally use Zonomi. They have a DNS API. I can issue a request like zonomi.com/app/dns/dyndns.jsp?action=SET&name=mynewsubdomain.example.com&value=10.0.0.1&type=A&api_key=apikeyvaluehere to set the IP address for a new subdomain.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme