I don't have a website having a sub-folder design.
DNS records map domains (e.g. example.com
) to IP addresses (e.g. 1.2.3.4
). Paths ("subdirectories") for a domain (e.g. /design
) are handled exclusively by web server software or the like (they have nothing to do with DNS).
Do I need to build a website for adding a subdirectory (e.g. example.com/design
)?
For this exact form, you need to have some piece of software (like a web server) handling HTTP requests and re-routing for the /design
path, yes.
Can I add a subdirectory to the domain without a website?
Not without additional software (as described above).
However, some possible answers might be:
If your GoDaddy account includes web hosting, use that.
If GoDaddy's web hosting or virtual private server services are too expensive, you may be able to get web hosting or a virtual private server elsewhere for cheaper.
Look at Keltari's answer and use a subdomain (e.g. design.example.com
) instead. This has the advantages of A) not requiring any additional funds and B) being able to be set up entirely through GoDaddy (even without a web hosting package).