joined:Apr 17, 2012
Hi to all,
Firstly thank you for the wonderful forum, some great info on here that has already helped me tremendously.
As a complete novice, I have managed to co-host two e-commerce sites on my apache webserver. I am using named v-hosts to achieve this. I have one major obstacle still to over come.
I have two domains, lets call them the following;
Both sites are being correctly served by apache, hence when browsing to www.happydomain.com, the appropriate site and pages are retrieved, likewise for www.nothappydomain.com
The problem is ;
When browsing to www.nothappydomain.com, after getting the header reply, the URL in the browser address bar changes to www.happydomain.com/contentfolder/
The correct page is shown and all the links work, but I DO NOT WANT it to show happydomain in the address bar, I want it to show nothappydomain in the address bar.
Countless research and configuration changes have got me nowhere, I need some expert assistance here. I'm guessing maybe due to the folder structure it is doing some sort of redirect, but I'm not sure how to fix this or mask it.
Thank you in advance. Any associated config code you need just ask and I will post to make things easier.