: Redirect an invalid subdomain to the main subdomain I've just started hosting a master-server service for the game Crysis Wars, in order to replace the failed GameSpy service. The subdomain for
I've just started hosting a master-server service for the game Crysis Wars, in order to replace the failed GameSpy service.
The subdomain for the service is master.example.com, but I however want any requests for a subdomain under it to go to the original subdomain.
For example, any request for test.master.example.com should point to master.example.com.
I've tried a matching URL pattern at my webhost but they do not see the domain as being correct.
How can I do this?
More posts by @Harper822
1 Comments
Sorted by latest first Latest Oldest Best
I found the solution, I had to use a Wildcard on the DNS A record for master.example.com:
*.master.example.com
The wildcard *. ensures any attempted connection goes to master.example.com.
The registrar where the domain's DNS is currently managed didn't help and actually attempted to trick me into purchasing a subdomain (something my current provider does for free), and made absolutely no hint I needed a wildcard DNS record (I found the solution after searching 'catch-all subdomain').
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.