I have created subdomains for my main site.
and all point to / . but when I try to use cdn1.abc.com in a url it does not work. Perchance there is something else I need to do?
migrated from stackoverflow.com Jul 1 '10 at 3:22
This question came from our site for professional and enthusiast programmers.
There are two parts to this:
The first part will probably involve you using some online control-panel at your domain registrar. The second part will probably be as simple as adding:
then restarting apache2.
With your virtual host settings, you need to add a ServerAlias, sort of like this:
You could also do "*.abc.com" on that line instead, if you wanted to allow all subdomains.