logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Localhost Web Site Implementation
Author
winrunner



Joined: 11 Jul 2010
Posts: 1
Location: South Africa

PostPosted: Sun 11 Jul '10 1:36    Post subject: Localhost Web Site Implementation Reply with quote

Hi, I am new to web hosting.

Please can some fundie help me here!

I have succesfully loaded Apache, MySQL and PHP.

I now want to load up a 3rd party web site onto my localhost to see how it works.

The installation instructions says:

1. Decompress the .zip archive to a local directory on your system and FTP all the files it contains (being sure to retain the directory structure) to your host. Once all the files have been uploaded to your site you should point your browser at this location.

2. Now, the Install-Screen comes up. Fill out the required fields and press "Start Installation".

I just can not get it right. Please can you tell me to what folder must I copy the files - if I can copy- to start the installation.

Will appreciate your help greatly.

Smile Smile Smile
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2268
Location: Sun Diego, USA

PostPosted: Mon 12 Jul '10 5:47    Post subject: Reply with quote

by default, without changing anything, localhost is the folder in your apache config labeled as DocumentRoot. You could put your files there.

Apache by default looks for the file index.html. To add to the list find these lines

<IfModule dir_module>
DirectoryIndex index.html
</IfModule>

add to the Directoryndex line like so

DirectoryIndex index.php index.html

things should work then after restarting apache
Back to top


Reply to topic   Topic: Localhost Web Site Implementation View previous topic :: View next topic
Post new topic   Forum Index -> Apache