0

Context: i've set up a vm server for GIS testing and dokuwiki on the domain root. I'd like to serve the gis web apps on a subdomain so that dokuwiki url renaming will never conflict (and it just feels cleaner). I thought i had it solved with avahi-aliases, but then discovered...

Problem: I can't reach the subdomain from any windows pcs on the LAN. Linux VMs connect just fine. Am i trying the impossible or just doing it wrong? (i'm a DNS noob) Why would Linux find the subdomain but Windows not, even on the same LAN??

Setup: i can't change anything on the corporate routers/servers. VMs are on different PCs on the same corporate LAN.

VM1 (virtualbox, hosted on windows PC1): Mint 13

VM2 (virtualbox headless server, hosted on windows PC2): ubuntu server 12.04, LAMP, samba, avahi, avahi-aliases.

primary domain: vm2.local

subdomain: gis.vm2.local (configured in apache and avahi-alias)

What works: I can reach vm2.local AND gis.vm2.local from vm1 (via ping and browser). I can reach vm2.local from any windows pc on LAN (via ping browser).

What doesn't work: I cannot reach gis.vm2.local from any windows pcs on the LAN.

Any ideas or advice is appreciated!

4

1 回答 1

0

听起来像是防火墙问题或 Apache/IIS(无论是托管您的 Web 应用程序的什么)都没有监听所有流量(如果您实际上是在共享网络)。尝试从机器到目的地的 traceroute/tracert 并查看它们采用的路径。如果不实际查看网络的外观,则很难进行故障排除。

您还可以通过尝试对有问题的 PC 执行 ping 操作来测试您的主机名是否已解决。如果它说“Ping 请求找不到主机。请检查名称并重试” - 这是一个 DNS 问题,您可以通过在%WINDIR%\system32\drivers\etc中提供机器的 IP 及其主机名来快速解决它\主机

于 2014-02-06T00:18:28.687 回答