|
|||||||
New to SitePoint Forums? Register here for free!
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
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? |
|
|
|
|
|
#2 |
|
SitePoint Guru
![]() ![]() ![]() ![]() ![]() Join Date: Dec 2007
Posts: 667
|
Check htaccess file. Also that is really useful to ask the web hosting provider to check that
|
|
|
|
![]() |
| Bookmarks |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
|
All times are GMT -7. The time now is 00:42.









Hybrid Mode
