J
JulienI
Guest
Im running a VPS @ Media Temple but something is bothering me with my setup.
Inexistant subdomains on all my domains revert back to the main domain, ex :
(1) doesnotexist.example.com -> www.maindomain.com
I would expect it to be something like :
(2) doesnotexist.example.com -> www.example.com
(3) or even better throw a not found or something equivalent.
I've tried solutions involving modifying vhost.conf, but I find it cumbersome because it has to be done on every single subdomain. Surely theres a streamlined way to do this?
Also, what is the recommended behavior between (2) & (3)?
Thanks!
Inexistant subdomains on all my domains revert back to the main domain, ex :
(1) doesnotexist.example.com -> www.maindomain.com
I would expect it to be something like :
(2) doesnotexist.example.com -> www.example.com
(3) or even better throw a not found or something equivalent.
I've tried solutions involving modifying vhost.conf, but I find it cumbersome because it has to be done on every single subdomain. Surely theres a streamlined way to do this?
Also, what is the recommended behavior between (2) & (3)?
Thanks!