Re: Help: Vhost default whit other IP.

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

 



First step to troubleshoot vhosts is to run the apachectl -S command. It'll expose your current vhost configuration.

For name-based vhosts, you always want to specify the port, and avoid IP:PORT unless you know exactly what you're doing. When in doubt, define all vhosts as *:PORT, and make sure that every vhost in a name-based set has a distinct ServerName set.

On Sat, Feb 3, 2018 at 5:24 PM, Rodrigo Cunha <rodrigo.root.rj@xxxxxxxxx> wrote:
Hi, i've http(apache2) in debinan 8 and my setup a second vhost(www.hostB.com) with ip: 192.168.1.51:8000 but my default host in apache is www.hostA.com.
My apache with received request from browser in 192.168.1.51:8000, redirect my request for www.hostA.com
I need help
[]'s

--
Atenciosamente,
Rodrigo da Silva Cunha
São Gonçalo, RJ - Brasil


Livre de vírus. www.avast.com.


[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