|
Creating a Web Site > Naming Files
File Loading / Naming FAQs
When someone types in my web site address, which page is automatically loaded?
Visitors coming to www.yourdomain.com will automatically be brought to an
index page of your site. In order for the right introductory page to page,
you need to save your file with a certain name. Different servers will accept
different home page file names, depending on your server configurations and
what platform your web site is hosted on. The following is a guideline- check
with your hosting provider to be sure.
On a Unix server:
Most UNIX servers read index.html as the default homepage
On a Windows server:
- index.htm
- index.html
- index.asp
- default.htm
- default.html
- default.asp
Why aren't my pictures/pages loading? Why are my pictures broken links?
99% of the time it will be caused by the following reasons:
- The link to the page is referenced to the wrong page. It:
- refers to a file on your hard drive, rather than the appropriate online
location
- The file points to <a href="C:\example\index.html">
rather than <a href="http://www.example.com/index.html">
- refers the wrong location:
- absolute links to a specific URL may be outdated - If you wanted
to point to www.webhosting-faqs.com from within your document, your
reference could be: "<a href="http://www.webhosting-faqs.com">
- relative links to a page in your web site - If you are at the page
www.webhosting-faqs.com/index.html and wish to go to www.webhosting-faqs.com/create/new.html,
you may have mistakenly pointed to "<a href="new.html">
rather than "<a href="create/new.html">
- The link to the page does not match the file name.
A common mistake is that writers do not realize is that UNIX is a case sensitive
environment, i.e. www.yourdomain.com/index.html is different from www.yourdomain.com/Index.html.
Therefore, when referencing files on a web site, it is important that all
links correspond to the exact file name.
Learn more:
Editting Files
Troubleshooting
|