English 中文(简体)
本地计算机主机网站
原标题:Hosting website on local computer

I am a web developer. I want to test how my website work on mobile and on pc. I am using xampp and codeigniter.

I created a virtual server like: rssfeed.local. It works properly on my pc. But I want that when I type above url in safari of my Ipod, It will also work.

So i change the ip of my pc to a static ip. Ex: 192.168.1.100 the ipod will understand and go to that website on my pc. But when i type rssfeed.local, the ipod does not understand.

你能教我如何配置用于此目的的缓冲吗?

问题回答

您可在此选择 4 个选项 :

  1. 您需要有一个服务器, 在那里您可以连接到您的 iphone 和您的网站, 并配置 DNS 。

  2. 您需要一个路由器, 您可以在其中配置 DNS 设置, 连接内部 ip 地址到 DNS 。

  3. 编辑您的iphone 上的主机文件, 为此你需要破解它 。

  4. 使用某些软件作为代理工具, 该工具可以将 url 转换为内部 ip 地址 。





相关问题
Using SimplePie with CodeIgniter and XAMPP

I am using CodeIgniter 1.7.2 with XAMPP 1.7.2 on a Windows computer. I am trying to make use of SimplePie. I followed all the instructions I could find: a copy of simplepie.inc is in my applications/...

Multiple Sites with common files

I have developed over 50 sites that all use the exact same files other than CSS and IMAGES, I currently duplicate the files each time I create a new site and upload different css and images. What ...

http server validation

I finish a litle http server, writing from scratch. I would like to be sure that my imlementation is conforme to the HTTP specifications. W3C give us tools for HTML/XML conformance, but i see nothing ...

热门标签