adding another website

Problems with the Windows version of XAMPP, questions, comments, and anything related.

adding another website

Postby kzak01 » 05. May 2009 12:31

Hey,

I'm using xampp to run moodle.

If I wanted to add another website (another folder in htdocs) :idea: , how do I get it to work? :?:

Currently it works fine with: http://localhost/foldername/page.html

I want it as http://localhost/foldername or just http://foldername

Is this possible and how do I go about it? :?:

Thank you,

Zak
kzak01
 
Posts: 5
Joined: 01. May 2009 11:12

Re: adding another website

Postby Wiedmann » 05. May 2009 12:34

Currently it works fine with: http://localhost/foldername/page.html
I want it as http://localhost/foldername

Yuo must rename your file from "page.html" to "index.html".
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: adding another website

Postby kzak01 » 05. May 2009 12:40

Nice, got rid of the page.html :)

Is there a way to link it direct to the foldername? :?:

ie http://foldername
kzak01
 
Posts: 5
Joined: 01. May 2009 11:12

Re: adding another website

Postby Wiedmann » 05. May 2009 12:52

Is there a way to link it direct to the foldername? :?:
ie http://foldername

Only with virtualhosts.
(and each of these foldernames, must also be a dns hostname, configured in your dns server or HOSTS file.)
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: adding another website

Postby kzak01 » 05. May 2009 13:04

Thank you Wiedmann, appreciate your help :)
kzak01
 
Posts: 5
Joined: 01. May 2009 11:12


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 48 guests