- Lets say I run a webserver, apache.
- I have a domain known as example.com.
- The name servers and such are correctly configured for example.com to resolve to the IP of the webserver, which serves the root directory of the webserver when example.com is requested.
I want to setup a subdomain like so: dev.example.com
I know how to do this in the httpd.conf (tested it with dev.localhost etc).
My question is, is the subdomain 'dev' handled strictly by apache when it is requested, just like example.com/dev/ would be? I want to know if I need to change anything DNS related so that dev.example.com would resolve. Does the DNS have a play in this or is it strictly handled by apache?
It's worth noting that I use a free dns provider known as zoneedit.
Thanks.