If you access the server by ip httpd can't differentiate which vhost you
are trying to access, so it returns the default.  To access a something
other than the default you need to include the server name, either as the
URL, or maybe you could add it to the request with nginx - before you pass
the request.

On Sat, Sep 29, 2018, 15:01 Labs Ocozzi <rjtogy1...@gmail.com> wrote:

> Hi,  i need a help.
> I depoy a wordpress website in my httpd enviroment lab, and this website
> redirect my request for default website, i change this website name,
> from tiblog.domain to blog.domain. I change database(wordpress) but my
> website not work. When i acess this website from
> ip:port[192.168.1.51:8014] my request is redirect to default domain.
>
> Follow my enviroment detail and logs:
>
> Checklist-Enviroment:
> default vhost: www.wiki.oduvaldocozzi.intranet
> vhost: www.blog.oduvaldocozzi.intranet
> technology: wordpress/php.
> ip: 192.168.1.51:8014
> DomainName: www.blog.oduvaldocozzi.intranet
> reverse proxy: nginx.
>
> Logs: When i acess domain in my browser "opera", thats access logs:
> www.wiki.oduvaldocozzi.intranet:80 192.168.1.50 - -
> [29/Sep/2018:17:45:27 -0300] "GET / HTTP/1.0" 200 3806 "-" "Mozilla/5.0
> (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko)
> Chrome/67.0.3396.87 Safari/537.36 OPR/54.0.2952.71"
>
> configfile:
> <VirtualHost 192.168.1.51:8014>
>      DocumentRoot
> /opt/www/www.blogsfera.d/www.tiblog.oduvaldocozzi.intranet/public_html
>      ServerName www.blog.oduvaldocozzi.intranet
>      ServerAlias blog.oduvaldocozzi.intranet
>      DirectoryIndex index.php index.html
> </VirtualHost>
>
>
>
> --
> Att,
> BR-RJ.
> Togy Silva Ocozzy
> e-mail: rjtogy1...@gmail.com
> LABS OCOZZI PE.
>
>
> ---
> Este email foi escaneado pelo Avast antivĂ­rus.
> https://www.avast.com/antivirus
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
>
>

Reply via email to