Go Back   SitePoint Forums > Forum Index > Host Your Site > Domain Names
Newsletter FAQ Members List Calendar Mark Forums Read

New to SitePoint Forums? Register here for free!

SitePoint Sponsor
 
Reply
 
Thread Tools Display Modes
Old Oct 26, 2009, 03:53   #1
strungoutyeh
SitePoint Enthusiast
 
Join Date: Feb 2008
Location: london, UK
Posts: 37
Hosting multiple sites on the same hosting account. Getting a weird redirect

I have about 5 sites all hosted on my same hosting account. One of those domains is attached to the hosting account. I place my other domains in a folder of a sub-directory of my main domain. This has been working fine, up until today when i noticed a weird error. Ill give you a little example of how my sites are setup

my main domain:
www.maindomain.com

My other sites hosted in a sub-directory of my main domain:
www.maindomain.com/sites/site2/
www.maindomain.com/sites/site3/

How my other sites appear on the web:
www.site2.com
www.site3.com


This works fine for every page until i go to www.site2.com/index.php
It redirects to www.maindomain.com/sites/site2/index.php for some reason


Anyone know what couldb e causing this and how i can fix it?
strungoutyeh is offline   Reply With Quote
Old Oct 27, 2009, 01:11   #2
SiberForum
SitePoint Guru
 
SiberForum's Avatar
 
Join Date: Dec 2007
Posts: 667
Check htaccess file. Also that is really useful to ask the web hosting provider to check that
SiberForum is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread | Next Thread »

Thread Tools
Display Modes

 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Sponsored Links
 
Forum Jump


All times are GMT -7. The time now is 00:42.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright 1998-2009, SitePoint Pty Ltd. All Rights Reserved