Link to home
Start Free TrialLog in
Avatar of s14sport
s14sportFlag for United States of America

asked on

Windows IIS website not opening on iMac OSX

Hello, we have a mixed environment of windows and apple computers.  We have a windows file server that is running windows 7 SP1 with an IIS local website running.  Its an aspx page.

This works just fine on the windows computers.  I can access the http://websitename/ without a problem.

The problem is trying to pull up the site on any of the apple iMacs.  I can't get it to pull up.  

The iMac that I tested on was on OS X Yosemite Version 10.10.5

In any browser (Chrome, Safari) I get an error 'ERR_NAME_NOT_RESOLVED' or 'Safari Can't Find the Server'

They are using airport extreme and ethernet at the same time.  

So far the only thing I tried was changing the service order of the network to ethernet first.
Avatar of David Favor
David Favor
Flag of United States of America image

You can only reference a site via http://localhost/ on machine where site is running.

Likely fix will be to make an entry in your Mac's /etc/hosts file assigning some IP to site... so if site is foo.com + IP is 1.1.1.1 then entry will be...

1.1.1.1 foo.com

Open in new window


This is only way to access local sites from many local machines.
Avatar of s14sport

ASKER

sorry, i was not trying to access http://localhost/ I was trying to access http://WebsiteName/ 

I edited the question to reflect
ASKER CERTIFIED SOLUTION
Avatar of David Favor
David Favor
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I have no idea why I didnt think of that before!  Replacing the server name with the IP address of the server where the website is hosted worked!  Excellent! Thank You!!!!!
You're welcome!

Tip: When I start debugging a problem, I always consider everything broken + start at the beginning.

Many times it's the simplest things that are broken.