我们用一个表单和一个感谢页面构build了一个简单的网站: http : //healthcity.giveitatry.nl/ 。 这在我们的电脑上就像一个手套。 使用CMS的网站pipe理员可以创build几个这样的forms,例如sportsclubx.giveitatry.nl或sportsunlimited.giveitatry.nl(这些最后2个是尚未制作的例子)。
为了让子域名工作,我们有2个DNS Alogging:
A *.giveitatry.nl 5.157.80.226 A giveitatry.nl 5.157.80.226
在服务器上,我们有以下虚拟主机:
<VirtualHost *:80> DocumentRoot "/var/www/giveitatry" ServerName giveitatry.nl ServerAlias *.giveitatry.nl <Directory "/var/www/giveitatry"> allow from all Options +Indexes AllowOverride All </Directory> </VirtualHost>
在我们所有的计算机上,只有一个在我们的办公室,我们可以使用几个浏览器,甚至使用ping等地址。但是有一个MAC,得到SERVER NOT FOUND 。 我们已经刷新了每一个DNScaching,我们可以想到他的电脑上,但没有任何改变。 属于我们客户的几台电脑有相同的错误或未DNS not found或ERR_NAME_NOT_RESOLVED 。 看起来,他们似乎永远不会到我们的服务器的IP。
如果有人需要,可以添加我的整个虚拟主机configuration:
<VirtualHost *:80> DocumentRoot /var/www/giveitatry </VirtualHost> <VirtualHost *:80> DocumentRoot "/var/www/xxxxxx" ServerName xxxxxx.nl ServerAlias www.xxxxx.nl <Directory "/var/www/xxxxx"> allow from all Options +Indexes AllowOverride All </Directory> </VirtualHost> <VirtualHost *:80> DocumentRoot "/var/www/" ServerName xxxxxx.nl ServerAlias www.xxxxx.nl <Directory "/var/www/"> allow from all Options +Indexes AllowOverride All </Directory> </VirtualHost> <VirtualHost *:80> DocumentRoot "/var/www/giveitatry" ServerName giveitatry.nl ServerAlias *.giveitatry.nl <Directory "/var/www/giveitatry"> allow from all Options +Indexes AllowOverride All </Directory> </VirtualHost> <VirtualHost *:12322> SSLEngine on ServerAdmin webmaster@localhost DocumentRoot /usr/share/adminer/adminer Alias /adminer/static /usr/share/adminer/adminer/static Alias /externals /usr/share/adminer/externals Alias /editor /usr/share/adminer/editor </VirtualHost> <Directory /usr/share/adminer/adminer> Options FollowSymLinks DirectoryIndex index.php <IfModule mod_php5.c> AddType application/x-httpd-php .php php_flag magic_quotes_gpc Off php_flag track_vars On php_flag register_globals Off php_value include_path . </IfModule> </Directory> <Directory /usr/share/adminer/editor> Options FollowSymLinks DirectoryIndex index.php <IfModule mod_php5.c> AddType application/x-httpd-php .php php_flag magic_quotes_gpc Off php_flag track_vars On php_flag register_globals Off php_value include_path . </IfModule> </Directory>
DNS通配符和DNSSEC并不总是很好地发挥作用,在这种情况下,您的域名就是这种情况。 看看http://0skar.cz/dns/en/testing的东西,特别是电脑无法访问您的网站。 另外请确保检查他们正在使用哪个recursion的名称服务器。