![]() |
2 Xampp servers?
How can I have 2 xampp servers on my computer? so I could access one server located: http://localhost/ and http://testzone/
|
Not sure. Localhost is a "loopback" whereas "testzone" isn't. Not sure how you'd configure that.
But why would you need 2 XAMMP servers? Different settings and configurations? Otherwise, just put your website bits into different sub-folders in HTDOCS. |
in your windows host file located 'C:\WINDOWS\system32\drivers\etc' add:
Code:
127.0.0.1 testzonei dunno about having testzone be a different server, i suppose you could change the 'Listen' in the apache config to a different port, i havnt a clue and i cant try it out as im at work but i will later |
yeah humm, one is for testing stuff the other one would be for something else, just organizing the stuff I create and test and what not.
|
You mean archiving applications and such? Well, I don't know why you need a separate server for that, or even a webserver for that. ;-)
But hey, it might work if you tried it. |
Basically its like saying you got 2 websites on 2 different hosts. For different things. But just on my home computer...
|
For simplicity's sake, I'd say stick with one with two "site" subdirectories. That might be a better option. BUT, if you don't set XAMPP to auto-start, I don't see why you cannot install them to separate directories so long as you have the disk space.
Whatever floats your boat. :-D |
I just don't see how it would work. If someone could try(im at school) return with the outcome if its possible or not :)..
(Note I already got just one server installed) |
Quote:
Code:
<VirtualHost *:80> |
Quote:
Quote:
|
ok dude, just chill...I just gave an advice, not hit you in the head with a hammer :-/
|
yea sorry it was alittle harsh, ive had a stressful day, can you tell? xD didnt mean to take it out on u.
|
I'll try the virtual host thing out, but everything I tried didn't work -.-..
|
Personally, I've never been able to change the port that Xampp is running on. This really bugs me since I use Skype a lot which uses Port 80 most of the time, so Apache won't start in Xampp :P
I think I read on the website that you can't change the port, but I may be wrong. |
why is skype usning port 80? as far as im aware port 80 should only be used for http, anyway you can change the listen port in the apache config (which is defaulted to 80, as it should be)
list of defualt ports can be found here:List of TCP and UDP port numbers - Wikipedia, the free encyclopedia |
Skype is an utter pain in the arse. I remember when I had it, Apache often failed to start because Skype was hogging the port. Such an annoyance! I don't think they use it for voice, in fact, I don't know why they use port 80, but they do. It just still works if it can't utilise port 80.
|
From what I know, Skype uses port 80 for redundancy if your others aren't passing through. I've never had trouble with it. My port defaults to 46372 for incoming calls, with the option to use port 80/443 as alternatives for incoming calls.
Skype isn't to blame, your configuration is. |
How can I create ports on my computer like http://localhost:80 and localhost:1337 (hehe)
|
Quote:
|
So does that mean its possible to have 2 xampp servers or wamp servers? All I have to do is change the apache default ports?
|
| All times are GMT. The time now is 02:04 PM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0