icon Learn how to get the most out of Surmunity - read our forum tips here! | Welcome! Please register to access all of our features.

» Surpass Web Hosting Forums » Discussions » Coding and Programming » [Answered] what folder do my codes need to be in?

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread
Old April 3rd, 2008, 10:46 PM   #1 (permalink)
Registered User
Fresh Surpasser
 
jBananna's Avatar
 
Joined in Apr 2008
Lives in Las Vegas
Hosted on sh139
12 posts
Gave thanks: 2
Thanked 0 times
[Answered] what folder do my codes need to be in?

in order for my site to show rather than the index?
jBananna is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old April 3rd, 2008, 11:12 PM   #2 (permalink)
DemonicAngel
Super #1
 
twirp's Avatar
 
Joined in Aug 2004
Lives in Wherever The World Takes Me
Hosted on Pass76
1,769 posts
Gave thanks: 24
Thanked 32 times
All of the files you want shown on the web should be uploaded to the public_html directory.
__________________
You wear Vans so high school kids will think that you can skate. He wears Vans because he can skate. TwiRp wears Vans because they were on sale. Pass76 wants Vans.
twirp is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old April 3rd, 2008, 11:40 PM   #3 (permalink)
Registered User
Fresh Surpasser
 
jBananna's Avatar
 
Joined in Apr 2008
Lives in Las Vegas
Hosted on sh139
12 posts
Gave thanks: 2
Thanked 0 times
they're all there but when i go to my domain the index still shows up.. is there a certain folder i should put the codes inside within the public_html folder?
jBananna is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old April 3rd, 2008, 11:53 PM   #4 (permalink)
4-8-15-16-23-42
Excelling Contributor
 
caseylee's Avatar
 
Joined in Jul 2007
Lives in Australia, turn left at America
Hosted on Luna & Nexus (dedicated)
774 posts
Gave thanks: 36
Thanked 29 times
Your main page should be named "index" (.html, .htm, .php or whatever). If there's no file called "index" in your public_HTML folder, that's probably why you're still seeing a list of files instead of a page.
__________________
caseylee is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old April 3rd, 2008, 11:57 PM   #5 (permalink)
Registered User
Fresh Surpasser
 
jBananna's Avatar
 
Joined in Apr 2008
Lives in Las Vegas
Hosted on sh139
12 posts
Gave thanks: 2
Thanked 0 times
yea there is a file named index.html. its a folder actually. so do i put my html coding inside of the index folder? and then that should show up when i go to my domain?
jBananna is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old April 4th, 2008, 12:18 AM   #6 (permalink)
4-8-15-16-23-42
Excelling Contributor
 
caseylee's Avatar
 
Joined in Jul 2007
Lives in Australia, turn left at America
Hosted on Luna & Nexus (dedicated)
774 posts
Gave thanks: 36
Thanked 29 times
I'm a bit confused

Your index should be a file, not a folder. The file named "index" in a folder is the home page. So when people type in your domain, they're taken to the file named "index" that is in your public_HTML folder. If the index is in another folder inside public_HTML, then they'd have to type yourdomain.com/foldername/index.html to get to it - do you understand?

So, try moving your files out of the folder and straight into public_HTML.
__________________
caseylee is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old April 4th, 2008, 12:25 AM   #7 (permalink)
wgm
Registered User
Super #1
 
Joined in Mar 2005
Lives in Washougal, WA
1,284 posts
Gave thanks: 23
Thanked 39 times
Perhaps jBananna is new to all this web stuff.

Below is just an example...

/public_html/index.html
/public_html/about.html
/public_html/gallery/

index.html is a file, gallery is a folder.
wgm is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
This user thanks wgm for this great post!
caseylee (April 4th, 2008)
Old April 4th, 2008, 1:10 PM   #8 (permalink)
Registered User
Fresh Surpasser
 
jBananna's Avatar
 
Joined in Apr 2008
Lives in Las Vegas
Hosted on sh139
12 posts
Gave thanks: 2
Thanked 0 times
yes i am fairly new sorry guys!! bare with me.... i have the index.html file but the index is still showing up... can you take a look to see if you can catch what im doing wrong? the domain is beaumondonline.com.
jBananna is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old April 4th, 2008, 1:13 PM   #9 (permalink)
URB4N 5K1LLZ
Super #1
 
Roxy's Avatar
 
Joined in Sep 2005
Lives in Orlando, FL
Hosted on SH63
2,648 posts
Gave thanks: 81
Thanked 127 times
Hmm, the page isn't showing up for me, not even the index directory? Have you done any changes recently to anything relative?
__________________
Roxanne
Surpass Staff

Urban Roxy -Personal Blog
SH63 - the best darn shared server!
Roxy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On