I have a main hosting registered with the domain example.com
. The hosting allows me to park another domain. I want that any person that access to example2.com
be redirected to sub.example.com
. In this way:
the user access to: example2.com/something/a.html
The user sees the content of: sub.example.com/something/a.html
And the browser displays: example2.com/something/a.html
I tried to do a CNAME from example2.com
to sub.example.com
but the pages go to example.com
. I think that is because the domain is parked at that hosting.
When I get that done, how I ensure that Google displays example2.com
and not the other subdomain?
.htaccess
, which I can't remember off the top of my head. – ashleedawg Jan 20 at 14:14