so i'm a newbie to the webpage creation world.. and i made a basic html page...
so i have a domain www.lukaszweb.com
now i want it to automatically go to a virtual directory called main
so in the public_html folder i have index.shtml which has the code
<!--#include virtual='main/index.html' -->
so yes .. i have an index.html file in my main folder
i admit i used a site builder program that my host had... and this was how it was setup .. but i didn't like it .. and the folder naming convention ... so i change the folder name to what i have now... "main" and edited the index.shtml file...
when you go to the site... you get a 404 page... but if you go to www.lukaszweb.com/main ... vioala... everything is there .... what gives???
Question
signalpirate
hey guys
so i'm a newbie to the webpage creation world.. and i made a basic html page...
so i have a domain www.lukaszweb.com
now i want it to automatically go to a virtual directory called main
so in the public_html folder i have index.shtml which has the code
<!--#include virtual='main/index.html' -->
so yes .. i have an index.html file in my main folder
i admit i used a site builder program that my host had... and this was how it was setup .. but i didn't like it .. and the folder naming convention ... so i change the folder name to what i have now... "main" and edited the index.shtml file...
when you go to the site... you get a 404 page... but if you go to www.lukaszweb.com/main ... vioala... everything is there .... what gives???
Link to comment
Share on other sites
4 answers to this question
Recommended Posts