virtual host mapping

#1
How to map a virtual host to two listeners. mydomain1.com is mapped to listener1 which is bundled with SSL certificate(https). Now i want to map {mydomain1} to another listener so that i could access it through
{http}.Primary reason is i want to redirect http to https.
i tried mapping mydomain1 to another listener by configuring virtual host mappings but could not access it through {http}.
Do i need to do some DNS settings. Please give me steps to map one virtual host to two different listeners.
 
#3
I am using apache httpd.conf should i add <virtual host> directive to the conf file or litespeed server gui console will take care of virtual host mappings.
 
#5
am i wrong, just want run mydomain1.com on port 80 and port 443 on two different listeners so that i could redirect http to https or is that possible with
only one listener, whether it is apache conf file or native configuration.
 

NiteWave

Administrator
#6
in native configuration, just define 2 listeners. one is for IP:80 another is IP:443

and define one vhost --- mydomain1.com

then in each listener configuration, map to this vhost.

no special -- just like normal listener configuration.
 
Top