Hyper V Linux网站托管和网络Windows系统中的打开


0

我刚刚开始独自学习Linux。我已经安装了Ubuntu 15.10桌面版并安装了灯泡服务器...

我已经安装了apache GUI并创建了虚拟主机example.com,并使用domain&ip配置了hosts文件。

现在它在虚拟机上可以正常工作,但是我也想在Windows网络上访问它。

Answers:


0

终于实现了...

Ubuntu(test2016.com)

在您的网站的/ var / www中创建文件夹。

编辑主机文件并添加新创建的网站...

运行a2nsite并按照屏幕显示...

窗口服务器转到dns并创建新区域,并将其指向ubuntu ip。

:)

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.