Mobile app version of vmapp.org
Login or Join
Harper822

: 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

@Harper822

Posted in: #Dns

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?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Harper822

1 Comments

Sorted by latest first Latest Oldest Best

 

@Annie201

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').

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme