dongzhankou2090
dongzhankou2090
2014-09-28 20:02

使用ip地址通过Web浏览器访问服务器重定向到localhost

  • php
  • prestashop

I'm using prestashop to set up an e-commerce website on my cloud server. I was able to successfully install it on the server and it works fine on the server locally, i.e. if I look at the website using localhost on the server. However when I try to access it from a different machine it won't work because, it gets redirected to localhost/index.php? I'm not sure what could be wrong or even where to start looking... any help would be appreciated. Only thing I could think of was the index.php file. It has following 2 lines of code and is generated by prestashop.

I apologize if this is not the correct SO website, as I wasn't sure what the issue could be related to.

Thank you.

  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

1条回答