HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   Unbind 443 from secondary ip address (http://www.howtoforge.com/forums/showthread.php?t=49978)

dmgeurts 11th November 2010 18:36

Unbind 443 from secondary ip address
 
Hi there,

Looked all over the place but a bit stumped and don't want to break anything. My server has two ip addresses and I need to run something other than apache2 on <ip2>:443 how do I ensure that apache only binds to <ip1>

Regards,
Djerk

dmgeurts 11th November 2010 19:16

Please confirm if this will cause issues or not
 
Changed "Listen 443" to "Listen 1.2.3.4:443" in /etc/apache2/ports.conf

[I'm on Ubuntu 10.04 and ISPconfig 3.0.3]

Code:

<IfModule mod_ssl.c>
    # If you add NameVirtualHost *:443 here, you will also have to change
    # the VirtualHost statement in /etc/apache2/sites-available/default-ssl
    # to <VirtualHost *:443>
    # Server Name Indication for SSL named virtual hosts is currently not
    # supported by MSIE on Windows XP.
Listen 1.2.3.4:443
</IfModule>

<IfModule mod_gnutls.c>
Listen 1.2.3.4:443
</IfModule>


falko 12th November 2010 15:13

That is ok.


All times are GMT +2. The time now is 04:40.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.