iamregistered
Programmer
Greetings all,
I was wondering, is it possible to add a virtual host in apache so that when using two different dns-addresses they will be directed to a certain server?
For exampel server1.mine.nu will be the default and handled by apache server, but server2.mine.nu will be redirected to a mail server?
I'm trying a mail server and since I can't use the same port for both, I would like to use my secondary dns to point to that server, through apache, if possible.
So instead of using to access the mail server I would like to use that address with port :80 and have apache direct it to the other server. This to make it easier to access the mail server for others so they do not need to remember wich port it is using.
Thanks in advance,
/Martin
***
En solnedgång här
Med björkens dalande löv
Mörkret närmar sig
***
Sun setting far away
Tree leaves turn from green to gold
Cold nights approaching
***
I was wondering, is it possible to add a virtual host in apache so that when using two different dns-addresses they will be directed to a certain server?
For exampel server1.mine.nu will be the default and handled by apache server, but server2.mine.nu will be redirected to a mail server?
I'm trying a mail server and since I can't use the same port for both, I would like to use my secondary dns to point to that server, through apache, if possible.
So instead of using to access the mail server I would like to use that address with port :80 and have apache direct it to the other server. This to make it easier to access the mail server for others so they do not need to remember wich port it is using.
Thanks in advance,
/Martin
***
En solnedgång här
Med björkens dalande löv
Mörkret närmar sig
***
Sun setting far away
Tree leaves turn from green to gold
Cold nights approaching
***