Page 1 of 1

Beginner and Could Use Some Guidance

PostPosted: 04. August 2014 22:45
by turkey3
Hi! I am experienced in designing web sites but not really in web servers. So far I am confused with XAMPP and how to set up a very basic website. I guess my question is. What are the steps to setting up a basic website with an HTML, CSS, and JS page on XAMPP? Thanks!

Re: Beginner and Could Use Some Guidance

PostPosted: 04. August 2014 23:05
by JJ_Tagy
XAMPP is just a collection of programs. Apache controls serving your html. Look inside your c:\xampp\htdocs folder. That is your root and the files inside are located at http://localhost/. Create a test file in there (let's say mytest.html). Then you can access it at http://localhost/mytest.html.

Re: Beginner and Could Use Some Guidance

PostPosted: 04. August 2014 23:08
by turkey3
Ok thanks for that info! But how come when I type "localhost" in my web browser instead of taking me to my website it takes me to the server configuration?

Re: Beginner and Could Use Some Guidance

PostPosted: 04. August 2014 23:21
by JJ_Tagy
Because of the existing files. Open index.php with a text editor and you will see why. There are default files it looks for if you don't specify a file to load.