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...@gmail.com>
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
>
>
>
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
>  Livre
> de vírus. www.avast.com
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>.
> <#m_6102331599057482590_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>

Reply via email to