You are absolutely correct. I changed the name to something more
unusual and it works now. Thank you

On Wed, Sep 21, 2016 at 9:19 AM, Bremser, Kurt (AMOS Austria GmbH)
<kurt.brem...@allianz.at> wrote:
> It might be that the "outside" DNS takes precedence over your hosts file. 
> Your other names might not have an equivalent in the net, but your new domain 
> has, and is therefore served from the DNS.
>
> In AIX, that order is configured in /etc/netsvc.conf, where "local" must be 
> before "bind" so that the hosts file is evaluated first.
>
> HTH,
> Kurt Bremser
> AMOS Austria
>
> Newton was wrong. There is no gravity. The Earth sucks.
> ________________________________________
> Von: Roparzh Hemon [roparzhhe...@gmail.com]
> Gesendet: Mittwoch, 21. September 2016 08:40
> An: users@httpd.apache.org
> Betreff: [users@httpd] New virtual host not working [wd-vc]
>
> I have several working virtual hosts on my Mac. Recently, I tried
> to create yet another one by copy-pasting what I did for the others,
> but to my surprise the new site doesn't work.
>
> What I did :
>
>   In /private/etc/hosts, insert the line
>
>   127.0.0.1 localshow.com www.localshow.com
>
>   In /private/etc/apache2/extra/httpd-vhosts.conf, insert the paragraph
>
> <VirtualHost *:80>
>     ServerName localshow.com
>     ServerAlias www.localshow.com
>     DocumentRoot "/Users/myusernamehere/Documents/Sites/Show"
>     ErrorLog "/private/var/log/apache2/localshow.com-error_log"
>     CustomLog "/private/var/log/apache2/localshow.com-access_log" common
>     ServerAdmin w...@coolestguidesontheplanet.com
>     LoadModule php5_module /usr/libexec/apache2/libphp5.so
> <Directory /Users/myusernamehere/Documents/Sites/Show>
> Require all granted
> DirectoryIndex index.php
> </Directory>
> </VirtualHost>
>
>    But when I type www.localshow.com in my browser, the URL is not recognized
> and I get redirected to a domain seller website.
>    The /private/var/log/apache2/localshow.com-error_log and
>   /private/var/log/apache2/localshow.com-access_log are empty.
>
>     What did I do wrong ?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
>
>
>
> AMOS Austria GmbH
> 1130 Wien, Hietzinger Kai 101-105
> FN 365014k, Handelsgericht Wien
> UID: ATU 66614737
>
> http://www.allianz.at
>
> ********************************************************
> Dieses E-Mail und allfaellig daran angeschlossene Anhaenge
> enthalten Informationen, die vertraulich und
> ausschliesslich fuer den (die) bezeichneten Adressaten
> bestimmt sind.
> Wenn Sie nicht der genannte Adressat sind, darf dieses
> E-Mail samt allfaelliger Anhaenge von Ihnen weder anderen
> Personen zugaenglich gemacht noch in anderer Weise
> verwertet werden.
> Wenn Sie nicht der beabsichtigte Empfaenger sind, bitten
> wir Sie, dieses E-Mail und saemtliche angeschlossene
> Anhaenge zu loeschen.
>
> Please note: This email and any files transmitted with it is
> intended only for the named recipients and may contain
> confidential and/or privileged information. If you are not the
> intended recipient, please do not read, copy, use or disclose
> the contents of this communication to others and notify the
> sender immediately. Then please delete the email and any
> copies of it. Thank you.
> ********************************************************
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to