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 about.me.
So if user profile is https://webapp.com/profile, user can map a custom domain like https://userdomain.com/
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!!