hide hostname in dns

Hi everyone ...

 I want to configure my dns in order to answer to two differents url, for example when the people put www.mywebsite.com.mx or put mywebsite.com.mx \( without www \) my dns could send all the request to the same page an example of this is microsoft.com and www.microsoft.com.

Actually i have configured my webserver to attend www.mywebsite.com.mx but if i need to configure another virtualhost in my webserver in order to attend mywebsite.com.mx request i will do it.

Thanks in advanced.

Perhaps the use of the CNAME construct in DNS is all you need. Based on your note, this is what I would suggest you try.

i normally do this it works for me.
www A 212.111.111.1
domain.com A 212.111.111.1

Ok i'll try on my webserver in this week ... so thanks a lot and if i have another doubt i'm going to be here again..

Thanks again

also note. that in apache has the option to auto direct all requests to www.my-domain.com when u type in my-domain.com