Is there any way i can for example have 2 domains registered ie
with the DNS records pointing to the same IP address (my linux apache server) and have apache determine which document root to point it too. I read a bit on named virtual hosts but it only referred to situations where you have for example
ie, a sub domain
If I can do this, how does it work, because as i understand it, DNS names get resolved to IPs before they physically get to the web server and thus how would it detemine which domain name the http packet was destined for? I would obviously love to be told that im talking rubbish
any help would be greatly appreciated
cheers
with the DNS records pointing to the same IP address (my linux apache server) and have apache determine which document root to point it too. I read a bit on named virtual hosts but it only referred to situations where you have for example
ie, a sub domain
If I can do this, how does it work, because as i understand it, DNS names get resolved to IPs before they physically get to the web server and thus how would it detemine which domain name the http packet was destined for? I would obviously love to be told that im talking rubbish
any help would be greatly appreciated
cheers