httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bremser, Kurt (AMOS Austria GmbH)" <>
Subject AW: [users@httpd] New virtual host not working [wd-vc]
Date Wed, 21 Sep 2016 07:19:10 GMT
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.

Kurt Bremser
AMOS Austria

Newton was wrong. There is no gravity. The Earth sucks.
Von: Roparzh Hemon []
Gesendet: Mittwoch, 21. September 2016 08:40
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

  In /private/etc/apache2/extra/httpd-vhosts.conf, insert the paragraph

<VirtualHost *:80>
    DocumentRoot "/Users/myusernamehere/Documents/Sites/Show"
    ErrorLog "/private/var/log/apache2/"
    CustomLog "/private/var/log/apache2/" common
    LoadModule php5_module /usr/libexec/apache2/
<Directory /Users/myusernamehere/Documents/Sites/Show>
Require all granted
DirectoryIndex index.php

   But when I type in my browser, the URL is not recognized
and I get redirected to a domain seller website.
   The /private/var/log/apache2/ and
  /private/var/log/apache2/ are empty.

    What did I do wrong ?

To unsubscribe, e-mail:
For additional commands, e-mail:

AMOS Austria GmbH 
1130 Wien, Hietzinger Kai 101-105 
FN 365014k, Handelsgericht Wien 
UID: ATU 66614737 

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:
For additional commands, e-mail:

View raw message