i'm still writing my CMS but i wanted to know some stuff about subdomains. i've gived a really quick trial look around on google for subdomains and PHP and doesn't look too bad. i think it's the management and the use of everything from the base domain that will be hard but i think myself and my friend can manage it.
what i want to know is how would i be able to make a subdomain on my localhost. i'm using XAMPP but i'm switching to WAMP5 this weekend so it would relate more to that (apache is apache...)
anyone have any good ideas? i'm hoping that once i create something locally i can move it remotely with no problems. one of the awesome things about PHP. *giggle*
thanx for any help guys
creating and managing subdomains on localhost
Moderator: General Moderators
- MrPotatoes
- Forum Regular
- Posts: 617
- Joined: Wed May 24, 2006 6:42 am
- daedalus__
- DevNet Resident
- Posts: 1925
- Joined: Thu Feb 09, 2006 4:52 pm
- MrPotatoes
- Forum Regular
- Posts: 617
- Joined: Wed May 24, 2006 6:42 am
- Ambush Commander
- DevNet Master
- Posts: 3698
- Joined: Mon Oct 25, 2004 9:29 pm
- Location: New Jersey, US
- MrPotatoes
- Forum Regular
- Posts: 617
- Joined: Wed May 24, 2006 6:42 am
i know what localhost isAmbush Commander wrote:What localhost really is, is a mapping on your HOSTS file from the domain name "localhost" to the IP address 127.0.0.1. I imagine you'd map subdomain.localhost in the HOSTS file and then change Apache configuration settings accordingly using VirtualHost.
Here is a nice tutorial :
http://irafi.com/post/2006/04/27/creati ... ispatcher/
http://irafi.com/post/2006/04/27/creati ... ispatcher/