Where do I put the files on my server?
Sponsored Links
A hosting server runs a program called the web server. It is this program that makes the machine act like a web server, that is, processing requests for web pages. The web server software requires that a directory be designated as the home, root or base. All your web site files need to be placed in this directory. You may have folders inside this root directory, but the homepage has to reside here (typically).
On Linux/Unix/FreeBSD based servers running the Apache web server, the home directory is typically called public_html or www ("www" is actually a shortcut to the "public_html" directory). If you want to place a homepage you should first move to the public_html or www directory and put the page there.
The homepage of a web site has a specific file name. It is typically, "index.html" ("index.htm") OR "default.html" ("default.htm"). However, it all depends on how the server software has been configured. If index.html or default.html do not work for you, first make sure that you have put these files in the document root. If the homepage still doesn't load, I suggest that you get in touch with the hosting company and ask them to help you out.
Putting server-side scripts
Generally server-side scripts work from any directory or subdirectory of the document root. However, certain web hosting companies might require you to place these in specific directories. The most common example is placing all perl scripts into the cgi-bin directory. Web hosting companies do this to provide enhanced security. You need to check this with your hosting company or upload and test a script.
Web site directory structure
Make sure that the directory structure of your web site on the server is the same as on your local computer. For example, if all images of your web site are placed in an "images" directory (subdirectory of the document root directory), ensure that the same is on the web server, else images will appear as broken links on your web pages.
If you've used FrontPage to create the web site, you can easily synchronize you site stored locally with the files on the web server.
Page contents: Online free web hosting information and advice - where to upload web site files on the web server
Comments, questions, feedback... whatever!
Recent Articles
- Solution to the problem of importing messages into Windows Live Mail
- How to buy an email address
- Automatic login at email
- Get rid of the Windows Live home page with headlines
- How to change or update the contact information in the WHOIS database
- Get a personal email address
- Hotmail IMAP set up
- Add a free countdown on your web site or blog
- Password help
- Shorten URL services
- Create poll on your web site or blog
- Find your IP address and location
- Install phpMyAdmin on Windows 7
- Email marketing services
- Backup Hotmail email
- Windows Live Mail email signature with images and links
- AOL email help
- Get MSN email
- Cancel and delete an AOL email account
Recent Blog Posts
- Advantages of dedicated server
- Yahoo phone number
- Web site icon on the iPhone, iPad and iPod
- Printout of screen
- How many websites are there in the world?
- Can you trust information on the web?
- Closure of Hotmail account: phishing scam example
- Can you use Lightbox with AdSense?
- Downgrade Windows Live Mail upgrade
- How often should I change my password?
- Common passwords lists
- Good security question for your account
- Tips on how to remember your password
- Create strong password - video
- Screenshot of the iPad
Popular Articles
- Hotmail Sign In page
- Hotmail login
- Create a Hotmail account - Instructions
- Make a Hotmail account - step by step
- Hotmail sign in problem and solution
- Create Gmail address
- Download and install Outlook Express
- Get your free Gmail address
- Outlook Express new version
- How to make a Yahoo email address
- Create my own email address
- Browers for Windows list
- How to access my computer
- Access email from another computer
- Create your own search engine
- Create email address on domian name / web site
- Get email address
- Outlook Express for laptop - download and install
- Color combinations for web sites and pages
- Create Yahoo ID
- Yahoo login
