I have build a site working on my localhost using xampp on windows7.
Now, I my colleagues want to access and use that site in our small office.
I tried to access the site using IP address of my own system. but some urls are redirecting to localhost… and there is no localhost at other computers in my office.
the problem is the site is built with CodeIgniter framework so it containes a constant site_url which it’s value is http://localhost/site.
I know that I need a server (or domain controller) and I have to put my site on that server so all other computers would access to it.
I can’t figure out how to implement what is need without a computer used as server in our office.
You could simply use the IP address or the hostname. To get the hostname just run:
in the command prompt. The IP Address is usually something like
192.168.1.121The only thing left is that on “xxamp” you need to make sure other people other than localhost have access. Although I’m pretty sure your using WAMP if your hosting on windows 7…
So the site_url would be
http://192.168.1.121/siteorhttp://my_hostname/site