The Little Guy Posted June 30, 2008 Share Posted June 30, 2008 I have a hosting site, where users can create a free subdomains (as many as they want). I would like to have the option for them to buy a domain name from some registrar. Set the name servers there, then use my hosting for their domain name. What I am not sure on, is how would they set the NS on the registrar? What would I give to them to do that? Would I give them my name server information? After all that is done, and say the user registers the domain "mycooltrip.com" and they added all the NS at their registrar, and they decide to go to "http://mycooltrip.com" how would I get my server to say "Oh hey that goes to this directory and this is the root" Quote Link to comment https://forums.phpfreaks.com/topic/112628-domain-names-and-name-servers/ Share on other sites More sharing options...
zq29 Posted June 30, 2008 Share Posted June 30, 2008 What I am not sure on, is how would they set the NS on the registrar? What would I give to them to do that? Would I give them my name server information? Yes, your nameservers. After all that is done, and say the user registers the domain "mycooltrip.com" and they added all the NS at their registrar, and they decide to go to "http://mycooltrip.com" how would I get my server to say "Oh hey that goes to this directory and this is the root" When I'm creating a new project on my dev machine, I just create a new file in /etc/apache2/sites-enabled/ I'm not sure what further measures you'd have to take on a production server - Manual? Quote Link to comment https://forums.phpfreaks.com/topic/112628-domain-names-and-name-servers/#findComment-578615 Share on other sites More sharing options...
Daniel0 Posted June 30, 2008 Share Posted June 30, 2008 If it's your own domain server then you will have to add a zone entry into it's configuration file and reload it. Quote Link to comment https://forums.phpfreaks.com/topic/112628-domain-names-and-name-servers/#findComment-578652 Share on other sites More sharing options...
The Little Guy Posted July 1, 2008 Author Share Posted July 1, 2008 it is on a remote shared server. I know that isn't the best for web hosting, but hey they get free hosting, and if it gets big enough I will switch. Quote Link to comment https://forums.phpfreaks.com/topic/112628-domain-names-and-name-servers/#findComment-578734 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.