Tedmund wrote:I was reading that, XAMPP disables some features with apache and mysql. And that I'd have to do everything through XAMPP iteslf...
What I mean is, Can I change the directory to something else for my web content. I don't want to do everything strictly in \xampp\htdocs\. I'd like to use a separate folder on a different hard drive. Can someone tell me how to change the directory?
If you're just tinkering or making one website on your webserver, then here's the way to do that:
Go to /xamp/apache/conf/
and open httpd.conf
Search for DocumentRoot "C:/xampp/htdocs"
(or whatever drive you installed XAMPP on)
Now change this to what you want your website directory to be. (example: "B:/mysite/")
Next, go down a few lines and find this:<Directory "C:/xampp/htdocs">
and change it to what you want your website root folder to be.
Now simply save it and close it out. You should now reach your new directory when you go to "http://localhost/
If you've configured your ports correctly through your firewall and router, your IP address should take you to this location as well. Be sure to have an index.php or index.html file in your new root directory, otherwise you'll get a page not found error or something similar.
Since you're reaching the splash page, this should work just fine for you.
Tedmund wrote:If not, do I have to use a seprate version of XAMPP?
NO!!! DO NOT tryt o install XAMPP twice to run another website on the same server. This will only cause problems. Trust me, I did it because I didn't understand it.
If you're wanting different websites on the same server, you will first need different domain names to access them publicly, otherwise you will always go to whatever your first [url]DocumentRoot[/url] is set to.
If you do want it and have a couple of domain names, use a service like http://www.ZoneEdit.com
(it's free) and point the domain names to your IP address.
Then, do as Sharley said and follow those links on how to configure vhosts. You can have as many websites as you want on your server, assuming you have enough domain names and fast enough internet connection to support it.