: 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
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.
More posts by @Shelton105
1 Comments
Sorted by latest first Latest Oldest Best
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.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.