I'm trying to set up a wildcard DNS entry through my host GoDaddy.com - basically so that http://anyname.domain.com/ resolves to my IP address, where anyname could be anything that was dynamically created (site will have many subdomains). I've tried variations for both a plain cheap and cheerful hosting account, as well as for a Virtual Dedicated Server, but can't seem to get it to work. Has anyone managed to achieve what I'm trying to do? Specifically, should I be creating/altering an entry for A Name, or CName or what? What should the entry be? * alone isn't accepted unfortunately. Any help or tips are greatly appreciated,
I did that as well, but then when I go to http://testboard.domain.com I get a 403 Forbidden error. I've tried both the following entries: * points to IP address *.domain.com. points to IP address Could one be conflicting with the other? should the second entry (*.domain.com.) not have a period on the end? Thanks,
If its your server giving you the 403 error then its working - all the wildcard DNS will do is point requests for *.domain.com to your server. If you get a server not found error then the wildcard isn't working. If you want the server to then treat *.domain.com the same as domain.com, you should add another serveralias in the httpd.conf under the virtualhost section for the domain. ServerAlias *.domain.com