More than 1 site on localhost...

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

More than 1 site on localhost...

Postby compass1312 » 29. June 2014 01:34

Hi guys,
New here and new to xampp. I have been doing a Udemy online course learning php and mySql. As part of that course, I had to install xampp, and did so successfully. As I have progressed, I want to use the stuff I've learnt on my own website that will eventually go live. I don't know how to allow 2 sites (possibly more) from the one htdocs install. I have followed <a href="http://myownhomeserver.com/2012/12/how-to-create-multiple-websites-using-apache-xampp">this</a> tutorial implicitly, but when I adjust the httpd.conf and the httpd-vhosts.conf file, xampp refuses to start.
I guess this is a common problem, just a bit confused. Hope someone can help...
compass1312
 
Posts: 7
Joined: 29. June 2014 01:14
Operating System: Win7 32 bit

Re: More than 1 site on localhost...

Postby Nobbie » 29. June 2014 11:02

The error log will tell you, what is going wrong.
Nobbie
 
Posts: 8770
Joined: 09. March 2008 13:04

Re: More than 1 site on localhost...

Postby Altrea » 29. June 2014 12:55

The shown example is incomplete. The virtualhost Start and end tags are missing. Better look for a correct tutorial in how to define Virtual hosts with Apache 2.4
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 8293
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: More than 1 site on localhost...

Postby compass1312 » 30. June 2014 03:05

Altrea wrote:Better look for a correct tutorial in how to define Virtual hosts with Apache


Thanks, will do...
compass1312
 
Posts: 7
Joined: 29. June 2014 01:14
Operating System: Win7 32 bit


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 68 guests