I have a shared hosting account, and I need to add one more domain to it. The only way to do this where I'm hosting my site is through domain mapping , where I can have multiple domains pointing to the same site unless I open another account and pay separately for it , which at the moment is not feasible.
To clarify, I can only access the /home/www
folder of the server. Inside this directory, I have two completely different Wordpress installations. Through domain mapping, I have http://dominio1.com
and http://dominio2.com
pointing to /home/www
. But I need something like this:
http://dominio1.com
= > /home/www/instalacao1
http://dominio2.com
= > /home/www/instalacao2
I was told that with .htaccess it is perfectly possible to do this redirection, but I did not find much relevant about this "technique".
Is this really possible with .htaccess
? If so, what rules should I put in the file?