Jump to content

Recommended Posts

Posted

Hey everyone, so here's the thing, i was using the Hamachi, but my game server growth, so i had to try heliohost, but here's the thing, i'm using "xampp" for the hamachi servers, and the site's working just fine, but when i uploaded the files to my public_html, only the first page shows up, the other ones are like "Index of /'

 

Sorry about my english! :P

Posted

What domains are they?

 

If you are using addon domains, the addon domain page in cPanel will list what folders the files need to be in for them to show up.

Posted

Have you tried clearing the cache of your browser? Also, can you post the link to your website so I can see if it works for me.

Yeah i did, habicornio.heliohost.org

 

What domains are they?

 

If you are using addon domains, the addon domain page in cPanel will list what folders the files need to be in for them to show up.

Sorry, didn't get much of what you said, i have to install this addon?

Posted

If the /me/ folder is supposed to show whatever is in that me.php file (it errored when I viewed it), you should rename the me.php to index.php. Any folder you have will always show index.php when you open the folder without a filename on it.

 

http://habicornio.heliohost.org/me/ and http://habicornio.heliohost.org/me/index.php (file doesn't exist right now) will always show the same thing provided index.php exists in the public_html/me/ folder.

  • Like 1
Posted

If the /me/ folder is supposed to show whatever is in that me.php file (it errored when I viewed it), you should rename the me.php to index.php. Any folder you have will always show index.php when you open the folder without a filename on it.

 

http://habicornio.heliohost.org/me/ and http://habicornio.heliohost.org/me/index.php (file doesn't exist right now) will always show the same thing provided index.php exists in the public_html/me/ folder.

So, i have to rename every page to "index.php" ?

Posted

Each folder you have on your site should have a file named index.php in it.

 

The content of that file can be whatever you wish (and content can/will be different for each folder on your site), but the default file that you want to show when the folder is viewed should be named index.php. If no filename is given in a URL to a folder on your site, the server automatically tries to show index.php first, then it shows a directory listing (index of /) or error (403 Forbidden) if not found.

 

For example, I have http://raxsoft.com/raxccm/ (a folder without a filename). The server notices the lack of a file name and shows the index.php in the raxccm folder. That's the same thing as the user typing http://raxsoft.com/raxccm/index.php Other files can exist in that folder too (then you create links on your main page to them).

  • Like 1
Posted

Each folder you have on your site should have a file named index.php in it.

 

The content of that file can be whatever you wish (and content can/will be different for each folder on your site), but the default file that you want to show when the folder is viewed should be named index.php. If no filename is given in a URL to a folder on your site, the server automatically tries to show index.php first, then it shows a directory listing (index of /) or error (403 Forbidden) if not found.

 

For example, I have http://raxsoft.com/raxccm/ (a folder without a filename). The server notices the lack of a file name and shows the index.php in the raxccm folder. That's the same thing as the user typing http://raxsoft.com/raxccm/index.php Other files can exist in that folder too (then you create links on your main page to them).

I see, could you explain me in step by step what to do?

 

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...