I know how to configure subdomains like sub.example.com
on Apache etc. My question is, do I need to make any changes to the name servers/domain that is provided to me?
Would it work the same as domain.com/sub
?
Worth noting that I use http://za.net/
as my domain provider (free domain) and zone edit as the name server provider which is also free. I think .za.net
provides third-level domains, because when you register it, it becomes example.za.net
.
I'm not 100% sure that it provides third-level domains, but would I need to make any changes with that? Or would the setup in my Apache config as a subdomain for sub.example.za.net
work without need to do anything with the domain DNS or name servers?
http://co.za/
is the same, but you pay for it. It's the premium domain provider in South Africa, but I've seen many sites with sub.example.co.za
for example.
Anyway... ultimately my question is: Would creating virtual hosts and stuff for a subdomain like sub.domain.com
be sufficient? and would I need to change anything in the name servers or domain DNS management tools?
The sub.domain.com
would read the "sub" folder in the htdocs.