Closed Thread
Results 1 to 6 of 6

Thread: subdomain not finding index file.

  1. #1
    wjh2303 is offline x10 Sophmore wjh2303 is an unknown quantity at this point
    Join Date
    Mar 2009
    Posts
    139

    subdomain not finding index file.

    I set up a subdomain, and got it a .co.cc address ( http://epsomandewellrevisited.co.cc ) however when visit it, i get a 404 as it apparently cant find it's index.php page, however if i type the adress for the file http://epsomandewellrevisited.co.cc/index.php it loads fine.

    TIA

  2. #2
    Zubair's Avatar
    Zubair is offline x10 Super Spammer Zubair has a reputation beyond reputeZubair has a reputation beyond reputeZubair has a reputation beyond repute
    Join Date
    Jul 2009
    Location
    Pakistan
    Posts
    8,747

    Re: subdomain not finding index file.

    Add the following line in .htaccess file in that folder

    PHP Code:
    DirectoryIndex index.php 
    Zubair Barkat | Level 2 Tech
    █ 888-X10-9668 - zubair[@]x10hosting.com
    x10Hosting - Giving Away Hosting Since 2004

  3. #3
    wjh2303 is offline x10 Sophmore wjh2303 is an unknown quantity at this point
    Join Date
    Mar 2009
    Posts
    139

    Re: subdomain not finding index file.

    im afraid that hasnt done it

  4. #4
    Zubair's Avatar
    Zubair is offline x10 Super Spammer Zubair has a reputation beyond reputeZubair has a reputation beyond reputeZubair has a reputation beyond repute
    Join Date
    Jul 2009
    Location
    Pakistan
    Posts
    8,747

    Re: subdomain not finding index file.

    Where you add this http://epsomandewellrevisited.co.cc/ domain??

    In Parked Domain or in Addon Domains
    Zubair Barkat | Level 2 Tech
    █ 888-X10-9668 - zubair[@]x10hosting.com
    x10Hosting - Giving Away Hosting Since 2004

  5. #5
    descalzo's Avatar
    descalzo is offline Grim Squeaker descalzo has a brilliant futuredescalzo has a brilliant futuredescalzo has a brilliant future
    Join Date
    Jul 2009
    Location
    Ankh-Morpork
    Posts
    7,633

    Re: subdomain not finding index file.

    It is an addon domain. You can also get there (sort of) via

    http://lifeinmegapixels.com/epsomand...ited/index.php

    Can you post the contentes of .htaccess from public_html and the one from public_html/epsomandewellrevisite ? This is strange since your main domian has index.php as an index page and there is not problem with that.
    Nothing is always absolutely so.

  6. #6
    wjh2303 is offline x10 Sophmore wjh2303 is an unknown quantity at this point
    Join Date
    Mar 2009
    Posts
    139

    Re: subdomain not finding index file.

    its a subdomain epsomandewellrevisited.lifeinmegapixels.x10hosting .com with the addon domain epsomandewellrevisited.co.cc to point at the subdomain whose root is in public_html/epsomandewellrevisited.

    .htaccess in the subdomain root is:
    Code:
    DirectoryIndex index.php
    .htaccess in domain root is:
    Code:
    DirectoryIndex index.php
    
    RewriteEngine on
    
    RewriteRule ^location/([^/\.]+)/?$ location.php?location=$1 [L]
    RewriteRule ^locmini/([^/\.]+)/?$ locmini.php?location=$1 [L]
    RewriteRule ^category/([^/\.]+)/?$ category.php?tag=$1 [L]
    RewriteRule ^bylocation/([^/\.]+)/?$ bylocation.php?tag=$1 [L]
    RewriteRule ^viewtl/([^/\.]+)/?$ viewtl.php?id=$1 [L]
    RewriteRule ^list/([^/\.]+)/?$ list.php?sortby=$1 [L]
    RewriteRule ^([^/\.]+)/?$ $1.php
    i have no problems with the primary site. Thanks for the help

Closed Thread

Similar Threads

  1. Problem with file copy script
    By DaveBC in forum Programming Help
    Replies: 5
    Last Post: 01-12-2009, 02:14 PM
  2. help!!
    By retro-bliss in forum Free Hosting
    Replies: 25
    Last Post: 12-07-2007, 01:12 PM
  3. A little help plz
    By pineau in forum Free Hosting
    Replies: 3
    Last Post: 11-22-2007, 04:43 PM
  4. googkle.com
    By dsfreak in forum Off Topic
    Replies: 17
    Last Post: 07-12-2006, 05:09 PM
  5. Index file problem
    By Pim in forum Free Hosting
    Replies: 2
    Last Post: 02-20-2005, 09:21 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers