Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

How on earth do I do this

Engaged ,
Oct 24, 2006 Oct 24, 2006

Copy link to clipboard

Copied

Hi Guys,

This might not be the right place to post this so I’m pretty sure someone will point me in the right direction if its not.

Ok then this is my problem.

I have a LAN with 4 systems linked with a basic switch. Each system has XP Pro installed. One machine is used as the default gateway to the net and it’s on this machine I want to set up a local testing server. IIS is already installed on the machine but I’m not able to see anything on this system, from any other machines on the network. I also want clients to be able to view files/websites that are in development externally.

Ive already set up IIS to test files locally using Dreamweaver.

Any help with this or can someone point me in the direction of any online tutorials would really be appreciated.

Thanks in advance.
TOPICS
Server side applications

Views

394
Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Oct 24, 2006 Oct 24, 2006

Copy link to clipboard

Copied

I believe you need to edit each machines hosts file to point "localhost" to
the IP of the machine that has the testing server setup.

"DazFaz" <webforumsuser@macromedia.com> wrote in message
news:ehlgrl$io7$1@forums.macromedia.com...
> Hi Guys,
>
> This might not be the right place to post this so I?m pretty sure someone
> will
> point me in the right direction if its not.
>
> Ok then this is my problem.
>
> I have a LAN with 4 systems linked with a basic switch. Each system has XP
> Pro
> installed. One machine is used as the default gateway to the net and it?s
> on
> this machine I want to set up a local testing server. IIS is already
> installed
> on the machine but I?m not able to see anything on this system, from any
> other
> machines on the network. I also want clients to be able to view
> files/websites
> that are in development externally.
>
> Ive already set up IIS to test files locally using Dreamweaver.
>
> Any help with this or can someone point me in the direction of any online
> tutorials would really be appreciated.
>
> Thanks in advance.
>


Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Oct 24, 2006 Oct 24, 2006

Copy link to clipboard

Copied

>I believe you need to edit each machines hosts file to point "localhost" to
>the IP of the machine that has the testing server setup.

Crash:
But that won't make a difference for other machines who cannot see the
machine. And besdies, localhost should be set to 127.0.0.1, not the actual
IP of the machine.

DazFaz:
Can you see the machine from the other machines at all? Open a command
prompt, type "ping machinname" (without quotes, and replace the word
machinename with the actual machine name or IP address). Example:

D:\>ping happymachine1

If it connects, you'll see results like this:

Pinging happymachine1[128.1.28.1] with 32 bytes of data:

Reply from 128.1.28.1: bytes=32 time<1ms TTL=127
Reply from 128.1.28.1: bytes=32 time<1ms TTL=127
Reply from 128.1.28.1: bytes=32 time<1ms TTL=127
Reply from 128.1.28.1: bytes=32 time<1ms TTL=127

Ping statistics for 128.1.28.1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms


If it doesn't connect, you'll see this:
Ping request could not find host happymachine1. Please check the name and
try again.







Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Oct 24, 2006 Oct 24, 2006

Copy link to clipboard

Copied

> >I believe you need to edit each machines hosts file to point "localhost"
> >to the IP of the machine that has the testing server setup.
>
> Crash:
> But that won't make a difference for other machines who cannot see the
> machine. And besdies, localhost should be set to 127.0.0.1, not the actual
> IP of the machine.

I didn't realize other machines couldn't view his machine, I thought he was
attempting to get the machine with the IIS server setup as a testing server.

I believe in order to do this he needs to direct his localhost/ traffic from
the individual machines to the machine with the testing server running.



> D:\>ping happymachine1
>
> If it connects, you'll see results like this:
>

I would also suggest obtaining the local IP of your gateway, and pinging the
IP directly.


Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Oct 25, 2006 Oct 25, 2006

Copy link to clipboard

Copied

Hi Guys,

I can ping this machine and it returns the right info too. The problem is that if I try and view that machines local host, well how do I do that from another machine?

Is it something like: http://125.12.25.1/localhost
The number being that machines (the testing server machine on the network)
If this is the case Ive tried that and nothing happens as it times out.
Cheers

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Oct 25, 2006 Oct 25, 2006

Copy link to clipboard

Copied

DazFaz wrote:
> Hi Guys,
>
> I can ping this machine and it returns the right info too. The problem is that
> if I try and view that machines local host, well how do I do that from another
> machine?
>
> Is it something like: http://125.12.25.1/localhost

Remove the localhost. If the IP address is 125.12.25.1, just use
http://125.12.25.1 followed by the folder and file name. You must,
however, have located the files in the networked computer's server root.

Localhost only ever points to the current computer.

--
David Powers
Adobe Community Expert
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
http://foundationphp.com/

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Oct 25, 2006 Oct 25, 2006

Copy link to clipboard

Copied

LATEST
When you used 'localhost' in your browser's URL location, it points to your hard drive as site root. It depends on where you had set up your IIS server's site root per se. Of course, be sure to have IIS server up and running before putting localhost in your browser in order to make it work.

Perhaps that you might want to take a frame of reference as to how to troubleshooting your IIS site root and how to set it up correctly, refer to Microsoft Developer Network. They provide indepth, excellent resource about how to troubleshoot associated with IIS server on your machine.

quote:

Originally posted by: Newsgroup User

Localhost only ever points to the current computer.

--
David Powers
Adobe Community Expert
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
http://foundationphp.com/



Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines