Jump to content

Recommended Posts

Hello,

 

My name is Brian and this is my first post in this forum. I would be very happy if somebody here can help me with my problem as it is slowing down my business.

 

I am running XAMPP (Apache Friends Edition) on a Windows XP Home Edition workstation to test my server side scripts before I launch them to the internet. I have a line of computers all for cross checking websites on a variety of different browsers and screen resolutions to ensure maximum cross compatibility.

 

All of these computers are on the same network with the same Work Group name and they are all sharing files and a printer with no problems.

 

I need to be able to punch in my IP address to my main PC to access the localhost and see how things look on these other PC's.

 

I recently moved my office from one location to another and prior to the move all I had to type in the browsers of the other network pc's was 10.0.0.17.  Now when I type that I get server not found.

 

I though I set my office up the same as before and I am not experiencing any other network issues. Can somebody tell me what I may be doing wrong and how I can access my localhost on other network machines. I cannot figure this out to save my life.

 

I also tried to type in the computers name which is Curotec-MainPC. I typed it like this: http://Curotec-MainPC/. No luck.

 

However, one thing that may be important to note is that when you type the above address into my main workstations browser it does bring up localhost as if I typed http://localhost/ into the browser.

 

Thank again in advanced.

  • 2 months later...

Upon posting I realize this was an older thread, but I will write the solution just for the record.

 

On each of the computers do this.

 

go to:

C:\WINDOWS\system32\drivers\etc\hosts

 

add lines similar to this:

192.168.1.45 site.com

192.168.1.45 *.site.com

 

in my example 192.168.1.45 would be the servers computer ip, yours can be different ranges

site.com is the domain name

 

in the run bar you can type this command to see the servers computer ip

ipconfig /all

 

  • 4 weeks later...

Are you using the exact same router? When moving your office your server's local IP address probably changed for one reason or another. You should be able to access your web server through the address bar of a browser using the server's local IP address.

for example http://192.168.0.150

you can find your computers actual local address by opening a command prompt and typing ipconfig/all

It should be listed near "IP Address........."

Any computer connected to that same network will be able to access your server using that address.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.