unclebob
Jun 18 2005, 09:05 AM
| | I uploaded a whole heap of files one named index.html, i expected my homepage to automatically set itself to the index.html page, but i guess not. It would be a great help if someone could tell me how to change my default page to the index.html page. |
Reply
hazeshow
Jun 18 2005, 09:16 AM
Hi, did you put your "index.html" in the correct directory? It must be in the directory "public_html". If it doesn't work, perhaps there is another file "index.htm" or "index.php" in the same directory. GreetingZ
Reply
jcguy
Jun 18 2005, 12:10 PM
Come to think of it, does the server automatically recognise index.html and use it as the homepage? Do all servers recognise index.html? And how does one go about getting the server to recognise, say, homepage.html as the homepage? thanks in advance
Reply
vujsa
Jun 18 2005, 06:45 PM
Most servers are set up to automatically display index.html as the directory default and our servers are no different. More and more often I see servers also allowing index.php to be used as the default. If you have an index,html and and index.php, then the server may request clarification via your ftp client. Any time I have both files, the server sends such a request through my ftp client. I then get a pop up window asking which will be used. Additionally, I'm pretty sure that you can override the server settings for this by using the .htaccess file for that directory. The whatever file you want to use would be shown as the default. Make sure that the original file was actually replaced with the new one and that your files are in the correct folder. Hope This Helps.  vujsa
Reply
Houdini
Jun 19 2005, 11:50 AM
QUOTE And how does one go about getting the server to recognise, say, homepage.html as the homepage? thanks in advance That is simple just rename your homepage.html to index.html unless the default for a server has been highly tweaked all servers look for an index (either htm or html or php) and that is the HOMEPAGE. If you look at a large website structure there will be many folders or directories that offer different content. each directory will have an index.htm or index html, or perhaps index.php which is the first page the server looks for, there has to be some sort of standard and it has been decided that index is just fine for the purpose of letting servers know what to start out with, unless the server is told otherwise to find homepage.htm or whatever it will automatically show you the index.(extension) when going to the page. See below for a bettr explaination: type http:www.astahost.com/ into your address bar and then watch the browser you will notice that the page will come back with the home page, then just for the fun of it add to the address above index.php so it looks like http://www.astahost.com/index.php then refresh the page, and then refresh the page. It comes back the same as when you typed in just the domain without the index.php because the server found an index and added it and servered it. You can go to any site and leave off the index.(extension) and it will show you the HOME page because it will look for an index. Hope that helps clear your query up.
Reply
austiniskoge
Jun 28 2006, 12:57 PM
I'm having the same problem, I think. The default index.html says "welcome to your hosted site" but I don't want that. So I deleted it and uploaded my own index.html through Web2FTP, but it won't load my index.html... What's going on?
Reply
Jeigh
Jun 28 2006, 01:59 PM
hm, I can't check myself since my index is index.php, but would having .html or .htm affect it? I assume not but worth trying both in case there is an issue there. Maybe try deleting the index.html, reload the page to see if it crashes you to the parent directory layout or whatnot that happens when there is no index page, and then upload yours and see what happens. At least then you know that the delete is taking effect. Oh troubleshooting, how I love thee lol.
Reply
austiniskoge
Jun 28 2006, 02:50 PM
well I can visit my website/index.html, but I want it to load that as default... yes, I will reupload it i guess. thanks *EDIT* Yeah, that worked. Thanks a lot, Jeigh.
Reply
Quatrux
Jun 28 2006, 10:27 PM
Well, for me index.html worked as I used it the last time quite well, as a matter of fact it is apache's httpd.conf setting called DirectoryIndex, so astahost server allow us to have our own custom settings for the servers using .htaccess server, if you want to put these settings on all your account, just put the file into /home/username/ or in your main root, the directory before public_html in that file write: CODE DirectoryIndex index.html index.htm index.php index.asp default.php
or whatever you want, the first one will be searched, then the second and so on.. if the file is not found it will show something, using the command IndexIgnore, you can avoid directory listing like writing it like this in the same file: CODE IndexIgnore *
you also can use a lot of other options/settings using htaccess, search the forum for htaccess, I have wrote a lot about them on this forum, almost step by step, for me they are very clear, other members wrote a lot too.  God luck.
Reply
Omkar™
Jun 29 2006, 06:13 AM
As far as I know, from my experience with Astahost Web Hosting, I never got that 'Welcome to your Astahost account' page on top of my site. I uploaded my site via frontpage, and here's what I'd like to stress upon-- Any FTP Client can upload to both the ROOT directory and the public_html directory
- You have to explicitly see that it uploads to the public_html directory.
- Uploading a page to the ROOT directory won't work, because you can't access it anyway.
- I'd suggest that you do NOT use the Windows FTP (IIS) Services, because they are unreliable.
If you still have problems, then you should try uploading your 'index.html' file using the File Manager in Cpanel at Astahost - that just has to work!
PM me for any doubts if you wish...
Reply
Recent Queries:--
convert your index.php to an index.html - 33.80 hr back. (1)
Similar Topics
Keywords : index, html, problems
- Email Server / Cpanel Problems
(1)
Good Books For Html And Css Beginners
(1) Hi all, Know any good books or tutorials for beginners? I've been using Site points learn
"Build your website the right way using HTML and CSS and can't recommend it enough. It's
completely XHTML compliant and is a great starting point? Seen anything else useful? I'd be v
interested in finding out about Javascript for beginners type things. Thanks, ....
Problems Using Usb Devices
with mobile, mp3 and usb key devices (7) Hello, For some time I'm having problems using USB and different devices on my Windows XP
Desktop, I have a motherboard with 6 usb slots, but because it's hard to get to them I'm
using a cable and one USB slot.. At the beginning I remember I had no problems, I could use
different USB keys, my mobile phone and my mp3 player.. However, after a while it started to not
find my devices, when I put my mobile phone, it doesn't show the memory card as removable disk
L: I need to remove it and put it again and usually after ~5 or 12 put in and put out into the u....
Problems With New Computer
gForce 9600gt (10) Hello, My friend has bought a new computer, a 32 bit quad core with ~4GB of RAM and a gForce 9600gt
or maybe gs? But as I remember it's a GT and I think it has problems or maybe the drivers or
something else, so thought to as astahost community for some experience, tried searching the
Internet, but got a bit tired.. It's working great, as he does not like Vista, he has installed
XP and drivers from CDs he got in the company he bought it and when he started to play new games
after about ~10-30 minutes the screen flickers and some errors are outputted and you can....
Basic Html Tutorial
Made it myself, hope you like it. (1) HTML stands for hyper text markup language. It is a basic coding language used on almost every
website. There are some tags in HTML which must be used, whilst others are enhancing, but not
essential. Below I shall list the essential tags and there uses: This tells the browser that
the language between the tags is going to be HTML so it knows how to read it. Inbetween those tags
come These tags tell the browser that all the content that you wish to be displayed is in there.
They are the only essential tags for HTML! The list is short but if you only use them your ....
What You Need Before You Can Create A Text-based Game..
Using PHP, HTML and MySQL (7) Please comment and rate, after you finished reading! /smile.gif" style="vertical-align:middle"
emoid=":)" border="0" alt="smile.gif" />
################################################################# Change log: Aug 22 2008: The
Tutorial Was Created. V1.0.0 Aug 30 2008: Added XHTML and a small CSS part. Also corrected some
small things and added this change log. V2.0.0
################################################################# OK.. Many people here want to
create text based games. Many of you ask us here on the forums: "how to create a text-based game....
Joomla Template Kit Extension For Nvu/composer
help in understanding how to change html template to joomla (3) Hi Everyone, I am becoming quite (a lot) interested in designing with joomla, and need an
understanding of how to use the template kit extension in Nvu/Composer. There doesn't appear to
be any tutorials available on how to use a HTML template to insert and design with joomla modules.
Is there anyone who could shed some light on this subject. It would be MUCH appreciated.....
Indentation In Html
(4) Whenever I start a new project one of the first things I do is put in a base index.php page. Yes,
it's a .php file, but I won't be looking at the PHP just yet. Normally, it looks a little
something like this: CODE Title
I've already got a few basics set out that I tend to stick to. For
instance, so far each of my projects has been XHTML Strict, which is why it's always up there.
Similarly, I use the same character set, and (at least initially) have two CSS files calle....
Wamp Server Problems
(5) im trying to learn php and i downloaded the wamp server, installed it and such. but when i tried to
put it online it wouldnt do so. ive tried to change the port skype is on/ or uses (still didnt work)
tested port 80, said i didnt actually use port 80. im not sure what else to do if any one can help
me to fix this that would be great /smile.gif" style="vertical-align:middle" emoid=":)" border="0"
alt="smile.gif" />....
Web Editor
great application for your html and javascript development (0) Aptana IDE is a free Integrate Development Environment great for HTML/CSS editing and Javascript
development The best feature in my opinion is the autocomplete feature , both in html and css mode
it not only give you the suggestion but informs you about compatibility in different browsers and
vresions same in javascript mode It is based on Eclipse IDE, it's free and can be extended
help you with your php editing need to it's free and defenitely worth a try LINK ....
How To: Display A Members/user List.
With PHP, Mysql, and HTML. (3) Alright, some of you might want to display your User's or Members on your site. Notes: 1.This
is to fit in with Feelay's register and Log-in scripts you can find in the tutorial section. 2.I
made this to show the members of my site who is a member and what their ID is. First off, we must
set up a connection to our MySQL Database. CODE $con =
mysql_connect("localhost","database_username","database_username_password"); if (!$con) {
die('Could not connect: ' . mysql_error()); } What it does: 1.It is starting a PHP
document. 2.Next it sets....
Image Problems With Windows 2000
(10) Hi, since a while i got two problems related with images files in my Windows 2000 machine, both are
very closely related because them happen with Windows Explorer and with Internet Explorer 6. The
problems are: Windows Explorer Thumbnails Preview : The problem with this option of the View menu
is that it doesn't show any thumbnail preview of any image in my hole computer, i verify this
problem for jpg, jpeg, gif, png or bmp files, but it works fine and generate the thumbnail previews
for html files. IE Save as... dialog and JPG files extension : Every time that....
Gimp: Saving As... Issues
Anybody experiencing compatibility problems (3) Hi all you gimp users. I am wondering if you are experiencing problems with your images created in
GIMP as I am. We here is my story. I take pictures with a camera and upload them to my computer with
a the camera software. Nothing is changed yet. Then I go to that file location and open the image or
a copy of the image with GIMP. Then i edit it, add layers, and tweak various settings before saving
it to .XCF (native GIMP format). Then later I was to export it. I do so as JPEG or TIFF. The
problem is whatever I create/modify in GIMP, I seem to have trouble opening it ba....
Style P And H? Html Tags
(2) Well, I have found that css was very hard to predict and precise control their apperance. When mix
and use the p and h? tags. Their apperaence were not identity. Place the h? tags within the p tag
causes style error on both firefox and IE. So, anyone should do it reserved, instead, place the p
tag with any h? tags will do the jobs on both browsers. Still learning it coz it much varies when
doing styles. Tested it on XHTML 1.0 Strict....
Updating Graphics Card Problems
(11) hi, i am trying to upgrade my graphcs card for the following motherboard p4sd-vx but can not find
out what type of grapics card it supports, can any one please help?....
Existing Problems
(4) I knew it would take some time to fix the problems involved with the Xisto server migration,
however, problems still exist today. I;m pretty sure it has been almost a month since the crash, and
still when I click the link to get to my CPanel, the outdated IP Address is being used, and the
connection times out. I know there is a way around this by using the new Address to access the
CPanel, but it would make my day easier if the "Access Your CPanel" link simply worked. Also, I
remember asking a question about this a while ago. A new domain, I am still unable to set up a d....
Yaml - (x)html/css Framework
(2) The YAML (Yet Another Multicolumn Layout) Framework is an excellent open source project that helps
you to create two or three columns (X)HTML/CSS floated layouts. This framework is very easy to use
and allows you to modifiy it to your own needs, this framework offers some tools for rapid
development of modern and accessible CSS layouts. QUOTE Yet Another Multicolumn Layout (YAML)
is an (X)HTML/CSS framework for creating modern and flexible floated layouts. The structure is
extremely versatile in its programming and absolutely accessible for end users. Based on w....
Two Problems.
(5) Ok first problem, I can't connect to certain websites. Ones specifically is
http://www.montages4you.com . The error that Firefox returns is that I can't connect to the
server. I've checked my connection, its fine. I've reset my router, talked to the site
host to make sure its not down. Asked OTHER people to find out if it will load for them, which it
will. But I can't connect to it! Seriously guys, I need help on this. :/ Also, second
problem. I bought this program a while ago called Game Maker. And I try to re activate it but for
some reas....
Increase Your Knowledge Of Html Language
(11) For Creating good website you have to be master in HTML Language. It is a scryptic Language. If you
want to Learn this language than visit the link http://zwqa.page.tl/Increase-you-HTML-Knowledge.htm
....
Internet Connection Sharing Problems
(2) Hello, I am having some trouble setting up Internet Connection Sharing. Here is my setup. My
internet is through a neighbor who is sharing there internet with me wirelessly, so I don't have
any type of broadband modem, just a wireless card on my desktop PC. I have a linksys WRT54G router
connected to the desktop PC and tried following the guidelines for home networking, and works fine,
but no internet connection now. When I unhook my router then my internet connection comes back.
Its as if the computer is looking for internet on my network, and I dont know how t....
Html Basic Tutorial
<!-- For beginners only --> (9) Knowledge HTML stands for H yper T ext M arkup L anguage. You cannot create an HTML file
using a rich-text editor, such as Microsoft Word or Wordpad. HTML To write a basic HTML, you will
need to start with this: CODE The html > tag tells the browser that this is an HTML page.
To close any tag, the same tag will be repeted but with the "/" sign. For example, CODE
Page title Did you notice the /title >, /head > & /html > tags? That's how we
close the tag. The HEAD > Tag A head > tag will include the meta >, titl....
Office 2007 Document Problems
(14) I switched over to the final Office 2007 format on one computer. The others are running Beta 2 with
the service pack. When i save files in the older doc, xls, ppt formats, i can open them fine on both
computers. when i save them in the new version (docx, xlsx, pptx and so forth) they will open fine
on the computer that created them, but not if i move them from the beta to the final computer, and
vice versa. It's irritating, because also before i installed the final on my computer, i had the
beta2 version, and now that i've upgraded, all documents created in that ....
Converting PSD To HTML
(11) Hi I m new to this site. I have designed a layout in PSD. What i want is to know how can I slice
the PSD to build a Cross-Browser Compatible HTML file. Thank U.....
Screensaver Problems
It wont start (11) Hi I just re installed windows on my computer (I know i can hear people saying "Why Windows", but i
need it to run certain programs) and i have encountered a problem with my screensaver. I have it
set to load the "My Pictures" screensaver after 3 minutes. But after 3 minutes the screen saver wont
appear!! I have also set my monitor to turn off (standby) after 5 minutes. The only thing that i
find strange is that when i have locked the computer (e.g switch user) and it is sitting on the
login screen, the monitor will go into standby after 5 minutes, but before that no sc....
Problems Installing Vista
(14) I just got a hold of Vista from my friend. He downloaded it from the Microsoft site and burned it on
a DVD for me. Since I just installed VMware recently, I wanted to give Vista a try. So far it's
only been giving me headaches. I've been getting all kinds of errors...most likely related to
the amount of disk space I allocated for the install or the memory assigned. Well, I gave it all I
got today. I set VMware to give it 15GB of hard drive space and 512MB of memory. It seems to work.
Got up to the copying files and after a short file it gave me an error code 800....
Rakion Problems.
High MS connection. (2) Any dude's here play Rakion, just wanna ask why is my computer showwing a 999ms lattency to the
rakion game server. This only happens to the rakion server only. Hw to reduce the lattency? Is
there any software that can reduce the lattency on my internet connection?....
Freebsd Burning & Installation Problems
(4) I had freeBSD. I just didnt work out. I burned it correctly like I do with all my other linux stuff
( i know, BSD is unix) but It just stops on the second cd and makes strange sounds. I've given
up hope and just moved on to Connectiva. moved to the BSD section, you will probably got more
relevant help here. ....
Nero Problems
Fixing Nero Problems (32) Hey everyone Im having a bit of trouble using Nero for burning CD's. Everytime I start the
burning process, it will get say about 45% done and then it will stop dead. Usually you can hear the
actual drive itself whilst the CD is burning, then it will just stop and go quiet. Its really
annoying because I am wasting countless CD's on it. Does anyone have any suggestions or is it my
hardware? Thanks /smile.gif' border='0' style='vertical-align:middle' alt='smile.gif' /> Please
help fix this Nero Problem.....
Converting HTML over to XHTML
Crossing over to the darkside (13) Allow for alterations Well, I've just had to convert another HTML 4.01 Transitional website
over to XHTML (eXtensible HyperText Markup Language) 1.0 Transitional, I will later on convert over
to XHTML 1.0 Strict as soon as I write the CSS (cascading stylesheet) file for it but it had to be a
quick update and removing all presentational elements and placing them in a CSS file is not quicker
than just altering some tags. So this is where I got the idea to write a How to Convert HTML over
to XHTML . Let's begin I'm having trouble knowing where to start ....
Basic Tips and Tricks in HTML
(15) Here is some quick links for basic html coding... A quick and easy way to create your first web
page! -> The easiest HTML guide for beginners You'll learn how to create tables from real
examples. -> How to create TABLE? You will learn how to create frames from a real example.
You'll see how to create a borderless frame, how to specify the target frame, etc. -> How to
build FRAMES? Follow a few easy steps to add sound to your web pages. -> How to add sound to a
web page? This page tells you how to automatically load a visitor to another web page.....
Looking for index, html, problems
|
*SIMILAR VIDEOS*
Searching Video's for index, html, problems
|
advertisement
|
|