How do I issue an ssl by checking for A record pointing to my server?

Hope all are having a good time this quarantine!

I am working on a web app where users can connect custom domain to their profiles, somewhat similar to

So if user profile is, user can map a custom domain like

So just like “about me” does apply a ssl for custom domain, how can I do the same.
I tried adding it manually to each domain, but then it would pile up many virtual hosts file on my apache server. How can just set a cron job to checkout for domains pointing to my server and apply them ssl.

I would really appreciate if some one helps, I have been trying to figure this out since months!!

apache isn’t probably the right tool for the job.

check Caddy (it has automatic certificate generation)

1 Like

Hi @CyrilK

if you want to create such a project, you should create your own client.


Thankyou for your answer!
Can’t I add a cron job for A records pointing to my server and issue a certificate for now?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.