Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

2 services need port 80...

Thread Tools
 
Search this Thread
 
Old Jan 23, 2004 | 07:43 PM
  #1  
djuk's Avatar
djuk
Thread Starter
Scooby Regular
 
Joined: Jun 2002
Posts: 1,280
Likes: 0
From: Berkshire
Post

I run a mail server which runs its webmail interface (not sure how it does this as i cant find any html documents in there anywhere so im guessing it is just a stylesheet over the true mailbox structure) which needs port 80 and also a web server which also needs port 80. Is there any way of adapting some forwarding or something which will allow them both to live next to each other?



[Edited by djuk - 1/23/2004 7:43:33 PM]
Reply
Old Jan 23, 2004 | 08:01 PM
  #2  
TopBanana's Avatar
TopBanana
Scooby Regular
 
Joined: Jan 2001
Posts: 9,781
Likes: 0
Post

Are both sites running off the same webserver software (e.g. IIS). If they are, you can use the hostname to differentiate the services, e.g. www.mysite.com and webmail.mysite.com could share an IP address. An alternative is to get a second IP address
Reply
Old Jan 23, 2004 | 08:05 PM
  #3  
djuk's Avatar
djuk
Thread Starter
Scooby Regular
 
Joined: Jun 2002
Posts: 1,280
Likes: 0
From: Berkshire
Post

no web is apache and mail is another 3rd party software
Reply
Old Jan 23, 2004 | 08:24 PM
  #4  
TopBanana's Avatar
TopBanana
Scooby Regular
 
Joined: Jan 2001
Posts: 9,781
Likes: 0
Post

In theory you could run both services on private port numbers (81 and 82 for example), then have a piece of software forwarding http requests depending on the hostname header. However, I know of no such software, but I'm sure some geek's already written it
Reply
Old Jan 23, 2004 | 09:13 PM
  #5  
class_A's Avatar
class_A
Scooby Regular
 
Joined: Apr 2002
Posts: 1,212
Likes: 0
From: elsewhere
Post

You can change the port Apache runs on by editing httpd.conf How do you access the webmail interface?

Alex
Reply
Old Jan 24, 2004 | 09:12 PM
  #6  
jpmason33's Avatar
jpmason33
Scooby Regular
 
Joined: Mar 2003
Posts: 831
Likes: 0
From: LA LA Land
Post

I have had this same problem, the quickest way to solve it is to add another IP address and assign each service to a separate IP

J
Reply
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
JimBowen
ICE
5
Jul 2, 2023 01:54 PM
KAS35RSTI
Subaru
27
Nov 4, 2021 07:12 PM
Mattybr5@MB Developments
Full Cars Breaking For Spares
28
Dec 28, 2015 11:07 PM
Mattybr5@MB Developments
Full Cars Breaking For Spares
12
Nov 18, 2015 07:03 AM
Ganz1983
Subaru
5
Oct 2, 2015 09:22 AM




All times are GMT +1. The time now is 12:23 AM.