I have a domain, let's call it example.com. Now on the registrar DNS configuration I have the following records:
- A Record *.example.com xxx.xxx.xxx.xxx TTL(Automatic)
- A Record @ xxx.xxx.xxx.xx(same) TTL(Automatic)
- CNAME www example.com TTL(Automatic)
I want to create virtual subdomains, so when a user types for *.example.com(eg. as.example.com) the request is handled by the server installed on the main domain.
What can be wrong?
Edit: When I try to open for example ab.example.com on a server Google Chrome says This webpage is not available
Edit: If I ping the main domain I get the correct answer, but If I ping the virtual subdomain then no response is obtained