How to fix subfolders IIS7 functionality?

Posted by Amr ElGarhy on Server Fault See other posts from Server Fault or by Amr ElGarhy
Published on 2009-05-28T15:55:30Z Indexed on 2010/03/24 17:13 UTC
Read the original article Hit count: 501

Filed under:
|
|
|

I have a problem in my sharing hosting that all websites in subfolders, their URL appear like this: http://amrelgarhy.com/amrelgarhy/

I sent to godaddy, and they sent me that its because of IIS7 and they can't solve, any one can tell me how to fix that?

Here what i sent to godaddy and their reply:

"as i saw before on this page http://www.godaddy.com/gdshop/hosting/shared.asp?ci=9009 compare windows plans, "Multiple Web sites: unlimited" so i have the right to run more than one website inside my hosting. But what i am facing now that i can't make more than website as a primary website. I have igurr.com as a primary website, i want to make others as primary because: I am facing a problem that all home pages for the other websites "which physically in sub folders" are like that "http://amrelgarhy.com/amrelgarhy/" the URL + the folder name and that what i don't want."

GODADDY "Thank you for contacting Hosting Support. The behavior you are describing is standard for IIS 7.0 accounts. All alias domains in this environment will append the foldername their located in. I.E. a an alias domain www.coolexample.com pointed to the '/example' directory will display in a browser as "www.coolexample.com/example". This is due to the way IIS 7.0 handles virtual directories. Unfortunately we do not have any direct work around for this. We apologize for any inconvenience this may cause. "

© Server Fault or respective owner

Related posts about domain

Related posts about web-hosting