View Full Version : Problem access top-level directory with URL if being redirected to subdir?!

11-04-2008, 09:11 PM
I am not even sure how to explain this properly, but here goes:

Let us say that at IP address xx.xx.xx.xx is a folder called "domainname.com" which itself contains the index.php home page for a site.

Typing http://xx.xx.xx.xx into a browser loads the index.php within "domainname.com" folder.

There is a second folder at the top level called "anotherdomainname.com" which contains a different index.php, for a different site.

What would I type into a browser to view the index.php of this other folder?!

What is telling http://xx.xx.xx.xx that the index.php of the particular folder is what is should load? I have even placed a dummy index.html page at the top level, but it is ignored.

11-04-2008, 10:53 PM
This turned out to be the very common issue of having multiple web sites connected to a single host folder/IP.

I talked to my host and got things squared away.

Have a nice day.

06-24-2009, 02:42 PM
i m facing almost similar problem
but with the hosting server

i m having

instead of

while it is working fine another hosting server

- virtual directory structure is same as it was...
- All links are working properly like login/logout/contact etc
- but all menus populated by xml file with url = "~/SearchProducts.aspx"
is not working

I tried with all ~,~/, ../, // but does not work

Thanks for any help

Naveed Anjum