lifeisbeautiful Posted September 25, 2007 Share Posted September 25, 2007 Can anyone tell me how can i create and register subdomains in php? Thanks in Advance. Quote Link to comment https://forums.phpfreaks.com/topic/70609-creating-subdomains-in-php/ Share on other sites More sharing options...
jaymc Posted September 25, 2007 Share Posted September 25, 2007 At a guess I'd say you will have to handle your BINDS conf with php $bind = file_get_contents(/usr/bind/whateveritis.conf); Then find out what needs to be added to the conf Once you know, use php to add the domain the the conf build, then write it to the conf Warning though, any mistakes and bind will 'break' Thats the best way I can think of, but almost certainly you will have to interact with DNS server conf in raw format Quote Link to comment https://forums.phpfreaks.com/topic/70609-creating-subdomains-in-php/#findComment-354898 Share on other sites More sharing options...
lifeisbeautiful Posted September 26, 2007 Author Share Posted September 26, 2007 Thanks for your help.. i will try to built with conf.. Quote Link to comment https://forums.phpfreaks.com/topic/70609-creating-subdomains-in-php/#findComment-355454 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.