How to show domain masking subdomain htaccess

194 views Asked by At

I have run into a wall. I need to show a domain name as the url but have it mask a sudomain. So here is the example:

http://es.mydomain.com (this is the content I need to show)
http://mydomain.com.mx (this is the url I need present)

They are both on the same hosting plan, I am not sure how to do this. The first domain: es.mydomain.com has a cname pointing to a translation service. I just need the second domain to mask it. If ANYONE could help that would be amazing. Thank you in advance.

1

There are 1 answers

3
Akber Choudhry On

You can chain CNAMEs, but it is not a well-recognized practice.

Can you not just make a CNAME entry for mydomain.com.mx to the translation service directly, bypassing es.mydomain.com.