re: How to create sub-domain automatically when users register on my SaaS application ? VIEW POST


if you are using cloudflare they have rest api api.cloudflare.com

with simple http requests you can manage your dns records

this way you can have multiple servers


Ha... I had this kind of solution in mind.. thanks for this. I will check that, it seem to be more suitable concerning security.


yeah cloudflare is great, in the free package they give you tools like waf, ddos protection, cdn, js css optimization etc and your server ip is not exposed to the public because cloudflare works as reverse proxy

code of conduct - report abuse