Forum Moderators: phranque
I own a webportal. When a new user joins my website, it creates a third level domain ( new_user_nick.mydomain.com ,for example).
I use a text file in which the web portal (written in PHP) writes new usernames.
Every three minutes the system:
* stops the named daemon
* reads the text file
* add new entries in the configuration file of mydomain.com zone
* starts the named daemon
According to you, is this a good solution? Are there some mistakes or problems? Do you know a better solution?
Otherwise, you should add a clause in the registration success/confirm page that actually looks up all your registered users and creates a new configuration file. This way new configuration files are only made when new users are registered, not every 3 minutes.