在浏览器中填写magento.local后,我会收到错误的页面

时间:2018-07-16 10:48:41

标签: ubuntu virtualhost

我使用了2个教程: Magento 1个,其中包括虚拟主机。 2在youtube上为ubuntu虚拟托管。

我使用了第二篇,因为我不理解第一篇教程中的某些内容。 现在的问题是,当我在浏览器中放置magento.local时,我收到的页面是教程2而不是1。

这大约是我的/ etc / hosts文件

127.0.0.1       localhost
127.0.1.1       vincent-MS-7577
127.0.0.1       magento.local
# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

我有/etc/www/magento/index.php 而且我有/etc/www/html/site1/index.html

当我在浏览器中打开magento.local时,如何交换两页?

亲切的问候,

Vincent

0 个答案:

没有答案