melloorr Posted December 22, 2011 Share Posted December 22, 2011 I am asking, what is the use of subdomains. I have a hosting account with GoDaddy, and they give you 25 free subdomains. But they only allow it so if you store something in www.example.com/images/example.jpg then it can ALSO be called from: images.example.com/example.jpg But what is the use of that? Link to comment https://forums.phpfreaks.com/topic/253639-use-of-subdomains/ Share on other sites More sharing options...
trq Posted December 22, 2011 Share Posted December 22, 2011 You could aslo use it divide applications up. For example, you could install a wordpress blog into ~/your-server-root/blog then access it via http://blog.yourdomain.com Link to comment https://forums.phpfreaks.com/topic/253639-use-of-subdomains/#findComment-1300302 Share on other sites More sharing options...
scootstah Posted December 22, 2011 Share Posted December 22, 2011 Mostly they are for separate applications on the same domain, or splitting up resources. Each subdomain could point to a completely different server. For example, images.example.com goes to a server optimized for serving images. Link to comment https://forums.phpfreaks.com/topic/253639-use-of-subdomains/#findComment-1300305 Share on other sites More sharing options...
requinix Posted December 22, 2011 Share Posted December 22, 2011 That's a very typical, though not ideal, setup for using multiple subdomains on one machine. Simply using subdirectories makes it easier for (most) people to keep track of their stuff - means they don't have to remember 25 different locations for the 25 different webroots. Link to comment https://forums.phpfreaks.com/topic/253639-use-of-subdomains/#findComment-1300306 Share on other sites More sharing options...
scootstah Posted December 22, 2011 Share Posted December 22, 2011 By the way, GoDaddy is just a shitty host. Most hosts allow you to specify a different working directory for your subdomains. Link to comment https://forums.phpfreaks.com/topic/253639-use-of-subdomains/#findComment-1300309 Share on other sites More sharing options...
melloorr Posted December 22, 2011 Author Share Posted December 22, 2011 Thanks for the answers guys, I was narrow minded thinking it could only be used for images and such :-\ By the way, GoDaddy is just a shitty host. Most hosts allow you to specify a different working directory for your subdomains. I know, I was going to use http://www.webhostfreaks.com but it was just too expensive to start off with. So I went with GoDaddy for 2 moths and see where things go from there Link to comment https://forums.phpfreaks.com/topic/253639-use-of-subdomains/#findComment-1300317 Share on other sites More sharing options...
melloorr Posted December 22, 2011 Author Share Posted December 22, 2011 Thanks for the answers guys, I was narrow minded thinking it could only be used for images and such :-\ By the way, GoDaddy is just a shitty host. Most hosts allow you to specify a different working directory for your subdomains. I know, I was going to use http://www.webhostfreaks.com but it was just too expensive to start off with. So I went with GoDaddy for 2 months and see where things go from there Link to comment https://forums.phpfreaks.com/topic/253639-use-of-subdomains/#findComment-1300319 Share on other sites More sharing options...
KevinM1 Posted December 22, 2011 Share Posted December 22, 2011 By the way, GoDaddy is just a shitty host. Ain't that the truth. I tend to use ICDSoft. A bit expensive, (~$7 a month), but they offer a lot, have a rock solid CP, no down time, and great technical support. Link to comment https://forums.phpfreaks.com/topic/253639-use-of-subdomains/#findComment-1300323 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.