On Fri, May 4, 2012 at 6:01 PM, Suresh Kumar <[email protected]> wrote:
>  but in that case the webpages will be served only when i explicitly
> mention the port no as 81
>  for eg:
>    http://localhost:81
> but what i want to do is that . i want to run apache server at port 81 and
> want to access the pages without mentioning the port 81
>  some thing similar to
>   http://localhost
>
> Is this possible..?

I am not familiar with Kerio but why do you need to run a mail server
at port 80?
There are a couple of ways around to solve your problem.

Situation 1: If you have 2 separate domains or ip addresses then you
can set a firewall rule that if the request comes in on kerio.domain
then it goes to port 80 and if it comes in on http.domain(s) then go
to port 81. But, this can be a messy solution and should be avoided as
far as possible.

Situation 2: Run apache on port 80, run kerio on a port other than 80
and setup a virtual domain which points to that port. Examples of this
setup can be found here
http://httpd.apache.org/docs/2.2/vhosts/examples.html#port. IMO, this
is a cleaner and easier to maintain/debug solution.

-- 
With Regards,
Mehul Ved
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to