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 shared hosting from godaddy and running there some website: community server website located in the root of the server. wordpress blog located inside a folder called actocity. wordpress blog located inside a folder called amrelgarhy.

and some others.

My problem is when you go to home page for any website not in the root, such as i see the url like that:

How to arrange my websites folders on the server so they all appear as they are on the root of the server?

share|improve this question
up vote 1 down vote accepted

I've always done this by creating virtual hosts for each domain and pointing them to a new folder in a directory such as c:\webroot\\ This way, you can prevent anyone who tries just your IP Address from hitting any websites, or you can have better control and keep Google from indexing you twice (it can happen)

share|improve this answer
how to create these virtual hosts? – Amr Elgarhy May 17 '09 at 17:30
I don't think you can edit your VHosts on a shared account. There's probably somewhere in GoDaddy's management interface a way for you to specify how and where is each domain hosted. – Ivan May 17 '09 at 19:26

Ah, I think I know what's happening. You have installed a CMS on each domain, and you've installed it on a subdirectory in each domain (Community Server, WordPress), that's what they are shown like that.

So, you'd need to modify the .htaccess file in each domain and edit the RewriteRule lines you see there. If you post the content of that file, maybe I can help you get it working.

share|improve this answer
So the problem is in the websites its self, not in something i can manage in the hosting? – Amr Elgarhy May 17 '09 at 21:40
Probably. I didn't notice you're running IIS, so in that case I can't help you (I thought you were using Apache) – Ivan May 17 '09 at 21:46

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.