Help with Xampp

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

Help with Xampp

Postby johnnyg_ro » 04. August 2009 10:51

Hy, I`m sorry, im really new to xampp and using servers and php.
I installed Xampp and i really want to know where to put my webserver files ( im using dragonfly) in order to properly work. I am using an external domain ( from no-ip.org for example) and i redirected to my computer. But when i acces from that domain, from internet, it opens the default xampp page instead of opening my sever pages.

Please help.
johnnyg_ro
 
Posts: 5
Joined: 04. August 2009 10:45

Re: Help with Xampp

Postby Wiedmann » 04. August 2009 10:57

( im using dragonfly)

Hm, There is no XAMPP for DragonFly BSD. (And that's the forum for XAMPP for Windows)

Besides of this:
i really want to know where to put my webserver files

Into the DocumentRoot, which is "C:\xampp\htdocs" in XAMPP for Windows.
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: Help with Xampp

Postby johnnyg_ro » 04. August 2009 20:39

Wiedmann wrote:
( im using dragonfly)

Hm, There is no XAMPP for DragonFly BSD. (And that's the forum for XAMPP for Windows)


Im sorry i ment im using dragonfly to make the site ( not bsd, it`s about CMS )

Besides of this:
i really want to know where to put my webserver files

Into the DocumentRoot, which is "C:\xampp\htdocs" in XAMPP for Windows.


Yes, i tried and did that, but when i point the domain to my pc, it opens the default page of xampp, instead of opening the index from my site director. So, this means i must change something about the path, didnt i?
johnnyg_ro
 
Posts: 5
Joined: 04. August 2009 10:45

Re: Help with Xampp

Postby Wiedmann » 04. August 2009 21:46

instead of opening the index from my site director.

So your site ("index.php") is in "C:\xampp\htdocs\sitedirectory" instead of "C:\xampp\htdocs"?
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: Help with Xampp

Postby johnnyg_ro » 05. August 2009 07:59

Wiedmann wrote:
So your site ("index.php") is in "C:\xampp\htdocs\sitedirectory" instead of "C:\xampp\htdocs"?


Yes
johnnyg_ro
 
Posts: 5
Joined: 04. August 2009 10:45

Re: Help with Xampp

Postby Wiedmann » 05. August 2009 20:40

So your site ("index.php") is in "C:\xampp\htdocs\sitedirectory" instead of "C:\xampp\htdocs"?

Yes

Why?

Remember:
Wiedmann wrote:
johnnyg_ro wrote:where to put my webserver files

Into the DocumentRoot, which is "C:\xampp\htdocs" in XAMPP for Windows.
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: Help with Xampp

Postby johnnyg_ro » 06. August 2009 09:02

Wiedmann wrote:
So your site ("index.php") is in "C:\xampp\htdocs\sitedirectory" instead of "C:\xampp\htdocs"?

Yes

Why?



Because i want to manage multiple sites, so i put each one in his own directory...it`s not ok?
johnnyg_ro
 
Posts: 5
Joined: 04. August 2009 10:45

Re: Help with Xampp

Postby Wiedmann » 06. August 2009 09:45

Because i want to manage multiple sites, so i put each one in his own directory...

Well, if you only use "http://yourdomain/" in your browser, how should your browser know if you want see the "sitedirectory" or "sitedirectory2" inside your DocumentRoot? ("http://yourdomain/" is always only the DocumentRoot)

"http://yourdomain/sitedirectory" should work for you.

(an other option is to work with VirtualHosts)
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: Help with Xampp

Postby johnnyg_ro » 06. August 2009 12:43

I understood. Thank you a lot foru your support.
johnnyg_ro
 
Posts: 5
Joined: 04. August 2009 10:45


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 48 guests