View Full Version : shoutcast and apache \ port 80
15th August 2001, 08:18
recently I noticed that "stream.evildildo.com" and "www.evildildo.com" share the same IP address and port number. I'd like to do this with my server (which runs on apache), but I'm not really sure how ... any ideas?
15th August 2001, 20:10
What you're looking to do is something called 'Virtual Domains'
The manual for Apache will talk about how to setup 'Virtual Domains'
I run a 4-5 virtual hosts on 1 IP Address, and the manual for Apache explains things pretty well. :)
15th August 2001, 20:23
no no, I know all about virtualhost ... but what I'm talking about is how he has shoutcast running and apache running -- www. goes to the webpage, but stream. goes to the server -- yet they're both on port 80, as if shoutcast is just another webpage -- how?
I'd ask the guy myself, but winamp staff have trouble replying to people I guess.
15th August 2001, 20:32
If it is at all possible, then the apache server would be set up with now default page and only virtual hosts. What I think they have is two servers, one for their site and one for their stream, and they have the dns set up to point to the two different machines for the two different url names, and then they just set up shoutcast to run on port 80. You might be able to do it on one machine if you set up apache to ignore requests from a certain sub-domain of your domain and then have shoutcast run on port 8080 while apache runs on port 80. But I think they just have two servers.
vBulletin® v3.8.6, Copyright ©2000-2013, Jelsoft Enterprises Ltd.