Problems with the Windows version of XAMPP, questions, comments, and anything related.
by turkey3 » 04. August 2014 22:45
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!
-
turkey3
-
- Posts: 4
- Joined: 04. August 2014 22:39
- Operating System: Windows 8
by JJ_Tagy » 04. August 2014 23:05
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.
-
JJ_Tagy
-
- Posts: 788
- Joined: 30. January 2012 13:44
- XAMPP version: 5.5.15
- Operating System: Windows 10 Pro x64
by turkey3 » 04. August 2014 23:08
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?
-
turkey3
-
- Posts: 4
- Joined: 04. August 2014 22:39
- Operating System: Windows 8
by JJ_Tagy » 04. August 2014 23:21
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.
-
JJ_Tagy
-
- Posts: 788
- Joined: 30. January 2012 13:44
- XAMPP version: 5.5.15
- Operating System: Windows 10 Pro x64
Return to XAMPP for Windows
Who is online
Users browsing this forum: No registered users and 235 guests