Apache, Multiple NICS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Title: Apache, Multiple NICS
HI All,

I have a new Mac Pro that will be hosting my “web presence”.

I am running Apache2 and I have everything working on one IP.

I want to run my online store on a separate IP and NIC and port 443.

So what do I do for apache to accomplish this?

I have apache listening on all IP’s by: Listen 80 and NameVirtualHost *:80

Should I change this to:

Listen xx.xx.xx.xx:80
Listen yy.yy.yy.yy:443

Then do I modify my virtual hosts file to:

NameVirtualHost xx.xx.xx.xx:80
NameVirtualHost yy.yy.yy.yy.yy:443

<VirtualHost xx.xx.xx.xx:80>
  // normal config
</VirtualHost>

<VirtualHost yy.yy.yy.yy.yy:443>
    // My online store info
</VirtualHost>

-Jason

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux