Vince889 Posted March 8, 2011 Share Posted March 8, 2011 Is there a way to dynamically create subdomains like so: http://sub.example.com ? I can do it in cPanel, but I'm not sure how I would go about doing it in PHP. I know how to create http://example.com/sub, but that isn't what I want. I don't think it would work the same as http://sub.example.com.. - Vince Quote Link to comment https://forums.phpfreaks.com/topic/230032-how-do-i-make-subdomains-with-php/ Share on other sites More sharing options...
shlumph Posted March 8, 2011 Share Posted March 8, 2011 You'll have to look into setting up wildcard subdomains on your web server, and also for your DNS. Quote Link to comment https://forums.phpfreaks.com/topic/230032-how-do-i-make-subdomains-with-php/#findComment-1184755 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.