Differences between domains, sub-domains and directories
Put simply, a domain is what you would usually refer to as your website's URL.
An example of a domain: wordpresshosting.com.au (or http://wordpresshosting.com.au)
- Notice the domain name and .com.au extension?
An example of a sub-domain: hello.wordpresshosting.com.au (or http://hello.wordpresshosting.com.au)
- Notice the sub-domain name "hello" followed by a dot "."?
An example of a directory: wordpresshosting.com.au/hello (or http://wordpresshosting.com.au/hello)
- Notice the forward-slash "/" then the directory name "hello"?