Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a problem in my sharing hosting that all websites in subfolders, their URL appear like this:

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 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 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 "" 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 pointed to the '/example' directory will display in a browser as "". 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. "

share|improve this question
up vote 1 down vote accepted

As stated in the previous answers given to you, you need to create each site as a virtual host of its own in IIS. However the godaddy account does not seem to allow this, it only lets you have 1 primary domain, and all the other domains as subfolders of that domain. Basically godaddy are only allowing you 1 virtual host in IIS.

You need to upgrade your account to one that allows multiple virtual hosts, or change providers, to do what you want.

share|improve this answer
but they didn't say that, they said its an IIS7 problem, thats not true, right? – Amr Elgarhy May 28 '09 at 16:24
If you had a standard server, running IIS 7 you could have multiple virtual hosts, each for a different site, so you could have and etc, this is a problem with godaddy restricting you to a single virtual host, so you can only create sub folders – Sam May 28 '09 at 16:28
fine, thanks for your answer – Amr Elgarhy May 28 '09 at 17:13

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.