Apache2 on ubuntu question

so i created my website which consist of several files and folders. ive moved everything to the www/mysite/ folder. however when i open local host im receiving all the file options rather than the actual main.html. im pretty sure from what i read i have to load php but wanted to get a second opinions before i went down that long road.

the original html page that ran with apache2 was fine. this is a format error i assume that i havent setup correctly.

will post pictures in a moment when i connect my laptop to the server

an article or suggestions to steer me in the correct path i would greatly appreciate it.

It sounds like you might not have your landing page named right or named in the Apache config.

Apache defaults usually to index.html not main.html

2 Likes

you have got to be kidding me... i blame my old web dev class

thanks @Eden as always you are awesome

may also want to look in the config if you wanted to set up custom 404 etc

i completely forgot about the 404 page... it has been two years.... thanks for the reminder. i will launch the site first but will make sure to sticky pad that.

You might consider turning off indexing as well