In a hosting I have two domains that respond to the same address. However, the main one is domain A that owns a website and domain B wants to redirect to a specific directory that has a project of a system on the same server through .htaccess.
Ex: I can access the project through this address below http://bit.ly/2DwVPXk
I want the domain below to point to the above directory. www.exampleDomainB.com
How do I configure this in .htaccess?
When accessing the website load normal www.exampleDomainA.com/
When accessing www.exampleDomainB.com, load the directory that is in the directory http://bit.ly/2DwVPXk
Aucun commentaire:
Enregistrer un commentaire