Author: triggered | Posted on: 7/1/2010 10:57:44 AM | Views : 1240

I have a website, www.mydomain1.com


Within that website, there is a folder "/Hosting" that hosts another website. I have www.domain2.com pointing to it.


So... mydomain1.com brings me to the root directory and mydomain2.com brings me to the Hosting directory that lies in the root (/Hosting).


How can i prevent people from doing this:


mydomain1.com/Hosting


instead of mydomain2.com 


Note: don't ask me why i want to nest the sites in the first place cause i don't. I just want to know how i can prevent the above.
...

Go to the complete details ...