I have an application that works with wildcard DNS. So any subdomain is valid. For example:
test.domain.com other.domain.com
Any of the above links goes for a given IP.
It turns out that I want to create a wordpress site for this my application and it will work in the URL www.domain.com
Currently my DNS settings look like this:
Type A with name @ pointing to IP X
Type A with name * pointing to IP X
So I'm thinking of creating another DNS entry like this:
Type A with www name pointing to IP Y.
In my application when the person enters without for nothing, only the domain.com my application redirects to www.domain.com
I would like to know if this is the best way and if I will not make it all stop working if I do as I thought.