That is easy, all you need to do is Load all of the files you want to be shown in the main directory.
/var/www/html/


The index.html file and all of the contents that go with the .index file
Meaning Images, Audio, Backgrounds etc.

I have this kind of set up on my site. Splash page / Landing page before you access the forum.
www.oO5Dynasty.com
 
Right You upload the files to that directory.
Not to confuse you in anyway, i do want to give you another option for displaying content.
Some people want to keep their /html Directory folder Very Clean. Meaning it does not have a ton of files uploaded to it. Some people Create Sub folders inside of the /html directory and link the files back to the index.html file. Since the index.html file is what displays the content, you need to have that uploaded to the /html directory. Then inside of the coding of the index.html file you would have the content Linked in this way.



So images Sub folder:
/html/img
http://prntscr.com/echpxq
http://prntscr.com/echqsk


Since all of my images are not in the /html directory, i have to tell the index.html file to look for the images on the server.
So in the coding i will use a code like this. http://prntscr.com/echti3
now the image will display even tho it is not in my main directory.

This is just another way to keep the folders clearn on the server. Also for you to know where all of the files are located.
/html/music inside the folder would hold the audio files
/html/background All background images
/html/img All .jpg .png .gif images etc....
/html/community (xenforo installation)
Just remember to link the content back to the index.html file and it will show.


http://icecraftnation.com/img/imagename.png
http://icecraftnation.com/music/audiofilename.mp3

The other option would be to upload everything to the

/html directory and just link it as soooooo

http://icecraftnation.com/imagename.png

http://icecraftnation.com/audiofilename.mp3
inside the index.html file.
Keep me updated and if you need help i can help on my free time.
 
Ok thanks, we aren't going to have many images (none at all) actually on the splash page, just made it in dreamweaver so it will be very easy for us to upload it to /html. Thank you so much for the help!
 
WHY AM I SEEING A 403 FORBIDDEN ERROR MESSAGE?

DV and VPS Hosting


Grid Shared Hosting


Legacy DV Hosting

  • APPLIES TO: ALL DV
    • Difficulty: Easy
    • Time Needed: 10
    • Tools Required: FTP client, plain text editor
OVERVIEW
The 403 Forbidden error is an HTTP status code which means that accessing the page or resource you were trying to reach is absolutely forbidden for some reason.

This article contains basic troubleshooting instructions for 403 Forbidden errors.

SYMPTOM
You get the following error when you try to visit a web page:

403error.jpg

Figure 1.

CAUSES AND SOLUTIONS
There are three common causes for this error. Here they are listed from most likely to least likely.

Empty httpdocs directory
Make sure that your website content has been uploaded to the correct directory on your server. Remember to replace example.com with your own domain name.

  • DV server: /var/www/vhosts/dv-example.com/httpdocs/
    • When you connect with your FTP user, you just need to navigate into the httpdocs directory.
If this folder does not exist, feel free to create it.

No index page
The home page for your website must be called index.php or index.html.

To resolve this error, upload an index page to your httpdocs directory.

If you already have a home page called something else - home.html for example - you have a couple of options:

  1. Rename your home page to index.html or index.php.
  2. Set up a redirect on the index page to your real home page. See How do I redirect my site using a .htaccess file? for details.
  3. Set a different default home page in your .htaccess file. Javascript Kit has a good example.
If you don't want a single page to display, but instead want to show a list of files in that directory, see Making directories browsable, solving 403 errors.
 
Well it isn't called index.html, it is called ICNhtml.html
that is the issue, because the Web is set up to look for index.php or index.html


No index page
The home page for your website must be called index.php or index.html.

To resolve this error, upload an index page to your http directory.

If you already have a home page called something else - home.html for example - you have a couple of options:

  1. Rename your home page to index.html or index.php.
 
Back
Top Bottom