Hello, I have 2 different websites/domains on 1 IP. The problem is that whenever stuff is uploaded, it displays in both sites.
Example: site_1.com/page.php = site_2.com/page.php
I created a directory for each site.
Example: site_1.com/site_1 and site_2.com/site_2 .
I want to create a script that resides as the index of the IP and directs the viewer to the proper directory by what URL they typed in.
For example: If they typed in site_1.com it would take them to site_1.com/site_1 and if they typed in site_2.com it would take them to site_2.com/site_2.
Can someone show me how to do this please? It's slightly urgent....