This is not really a programming question, it's more about settings that I can alter visually.
I have bought a domain and am wondering how I can get it work in such a way that everything before the .example.com except for things I've already set (like pop.example.com) are being forwarded to www.example.com (or *.example.com).
so stuff like this:
- pop.example.com
- ftp.example.com
- my.example.com
Goes to the appropriate URL, but:
- idontknowwhattheurlwas.example.com
- ivemistypedsomething.example.com
- bla.example.com
- 123.example.com
Are aliases for www.example.com.
The options for adding a rule inside the DNS configuration are:
- A
- AAAA
- MX
- TXT
- CNAME
- SRV
Or perhaps it's better to do this with .htaccess? and if so, how should i configure it?