Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I just got an hosting account, and uploaded my html.
It didn't load and was told I needed a index file. Can someone point me in the direction of how to create one?
Thanks, Cosmo
Have you configured the web server to deliver your html from the location to which you uploaded it?
What is the name of the file containing the "home" page of your site?
Um. Typically index.html or index.htm -- an out-of-the-box apache configuration, at least, wouldn't recognize the capital I. (Tho I concede your post may have suffered from some sort of autocorrect)
.
But it's not clear whether the OP has configured the web server at all, so they may be getting the server's default response page even if they have an index.html. Let's see what they say...
In addition, the default web page if not specified when you browse to a website is typically index.html. That file as stated needs to be saved in what is known as the server's document root directory.
If your file is in the correct dirrectory but not saved as index.html you can try entering www.your_server_url/file.name
All I did was change the name of my file to home.html (I had tried index.html before, but that didn't work.)
Thx!
Hmm? That sounds backwards. The name of your file should be index.html to load by default.
Are you using www.yourdomain.com/home.html as suggested by michaelk?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.