New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Operating System General OS operation information and support

Web pages will not load...


Post Reply New Thread Subscribe

 
Thread Tools
Ghemp

 
Member Since: Jun 10, 2012
Posts: 10
Ghemp is on a distinguished road

Ghemp is offline
I've looked all over this forum and elsewhere, and can not find a solution...
My iMac will not load certain websites, notably Facebook. Ive looked for software updates, I've reset my router even though those sites work fine on the PC and smartphones using the same network. I have tried using Safari, Firefox, and Chrome with no luck. I have cleared all browsing data and caches etc, and still no luck. I have even changed my DNS servers and that seemed to help for 5 minutes, but now I am back to square one... I've tried everything for over a month now. Very frustrating. Please help me!

I am running Mac OS X 10.5.8
QUOTE Thanks
chscag

 
chscag's Avatar
 
Member Since: Jan 23, 2008
Location: Fort Worth, Texas
Posts: 40,084
chscag has a reputation beyond reputechscag has a reputation beyond reputechscag has a reputation beyond reputechscag has a reputation beyond reputechscag has a reputation beyond reputechscag has a reputation beyond reputechscag has a reputation beyond reputechscag has a reputation beyond reputechscag has a reputation beyond reputechscag has a reputation beyond reputechscag has a reputation beyond repute
Mac Specs: 27" iMac i5, 3.2 GHz, iPad 3, iPhone 5c, 3 iPods, OS X Mavericks

chscag is online now
Copy and post your "Hosts" file for us to take a look at. Here's how to find it:

Open your Finder and navigate to

MacIntosh HD/etc/hosts

Open the hosts file with textedit and copy it to your clipboard. Then paste it here. Here is what mine looks like to give you an idea...

##
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting. Do not change this entry.
##
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
fe80::1%lo0 localhost
QUOTE Thanks
Ghemp

 
Member Since: Jun 10, 2012
Posts: 10
Ghemp is on a distinguished road

Ghemp is offline
I was able to locate /etc/hosts
except when I tried to open "hosts" it 1) it seems to be a shortcut... 2) It says "the alias "hosts" could not be opened, because the original item cannot be found"

I remember seeing familiar text by typing something in the terminal, when I was trying to figure this out following another post.
I can't figure out where I found out how to do that. I thought it was on this forum somewhere, but I can't find it.

Any ideas?
QUOTE Thanks
chscag

 
chscag's Avatar
 
Member Since: Jan 23, 2008
Location: Fort Worth, Texas
Posts: 40,084
chscag has a reputation beyond reputechscag has a reputation beyond reputechscag has a reputation beyond reputechscag has a reputation beyond reputechscag has a reputation beyond reputechscag has a reputation beyond reputechscag has a reputation beyond reputechscag has a reputation beyond reputechscag has a reputation beyond reputechscag has a reputation beyond reputechscag has a reputation beyond repute
Mac Specs: 27" iMac i5, 3.2 GHz, iPad 3, iPhone 5c, 3 iPods, OS X Mavericks

chscag is online now
It sounds like your hosts file doesn't exist. And why do you have an alias instead of the original?

How did you try to open it? It can be opened with any text editor or by just double clicking on it. If for some reason the hosts file is gone, just copy mine and place it where it's supposed to be. Copy it exactly as I posted mine. Then, delete the alias.
QUOTE Thanks
Ghemp

 
Member Since: Jun 10, 2012
Posts: 10
Ghemp is on a distinguished road

Ghemp is offline
haha ya it sure seems that way...
I opened it as you normally would. Double click. Then that message popped up.
How do i make the hosts file?
Is it just a textedit file?
QUOTE Thanks
Ghemp

 
Member Since: Jun 10, 2012
Posts: 10
Ghemp is on a distinguished road

Ghemp is offline
i went to the terminal and typed:

sudo nano /private/etc/hosts

to see the hosts file. No surprise, nothing was in there, so I modified it and pasted what you had in there and saved it. Now when i go to /etc/hosts and open it, it shows exactly what you have shown me.
Seems to still have problems opening facebook though...
I don't get this at all. I don't know what the problem could be.
QUOTE Thanks
vansmith

 
vansmith's Avatar
 
Member Since: Oct 19, 2008
Location: Toronto
Posts: 18,014
vansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond repute
Mac Specs: 2012 13" MBP (2.5 i5, 8GB)

vansmith is offline
Quote:
Originally Posted by chscag View Post
It sounds like your hosts file doesn't exist. And why do you have an alias instead of the original?
/etc is a symlink to /private/etc. This is why things in /etc point to the equivalent in /private/etc.

Ghemp: Try flushing your DNS cache:
Quote:
dscacheutil -flushcache
It's possible that you've got some weird IP cached for Facebook.

Important Links: Community Guidelines : Use the reputation system if you've been helped.
M-F Blog :: Write for the blog
Writing a Quality Post
QUOTE Thanks
Ghemp

 
Member Since: Jun 10, 2012
Posts: 10
Ghemp is on a distinguished road

Ghemp is offline
ya, i have tried that before, and i tried again, but no luck
QUOTE Thanks
Ghemp

 
Member Since: Jun 10, 2012
Posts: 10
Ghemp is on a distinguished road

Ghemp is offline
after trying to open facebook, it timed out and gave me this message, i don't know if this helps:

Error 324 (net::ERR_EMPTY_RESPONSE): The server closed the connection without sending any data.


ideas anyone?
(Using chrome)
QUOTE Thanks
Ghemp

 
Member Since: Jun 10, 2012
Posts: 10
Ghemp is on a distinguished road

Ghemp is offline
I found this to be curious
When I am using Firefox a message will randomly come up (even though I have not clicked on anything) and I will be on a completely different website...

You have chosen to open
like.php
which is a: php File
from: Welcome to Facebook - Log In, Sign Up or Learn More
What should Firefox do with this file?

Is this another indication that facebook's IP address is being redirected or firewalled or something.
Is there a way to see blocked IP addresses or something?
QUOTE Thanks
vansmith

 
vansmith's Avatar
 
Member Since: Oct 19, 2008
Location: Toronto
Posts: 18,014
vansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond repute
Mac Specs: 2012 13" MBP (2.5 i5, 8GB)

vansmith is offline
PHP files, initially interpreted by the PHP interpreter on the server, return HTML which should be parsed by your browser. In other words, you shouldn't be getting the open/save dialog for PHP files. The only time that something like this generally happens is when a server configuration has gone wrong and I doubt this is the case in this instance.

Who provides your DNS settings? Do you just use what your ISP provides or do you use a third party service like OpenDNS?

Important Links: Community Guidelines : Use the reputation system if you've been helped.
M-F Blog :: Write for the blog
Writing a Quality Post
QUOTE Thanks
Ghemp

 
Member Since: Jun 10, 2012
Posts: 10
Ghemp is on a distinguished road

Ghemp is offline
i recently just switched to OpenDNS in hopes it would solve the problem.
I did their test to ensure i was using their servers, it passed.
But they sent me an email saying there's one more step of adding IP addresses, or a range of IP's
I'm not sure what IP's to submit, if any.
Would adding some help?
QUOTE Thanks
vansmith

 
vansmith's Avatar
 
Member Since: Oct 19, 2008
Location: Toronto
Posts: 18,014
vansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond repute
Mac Specs: 2012 13" MBP (2.5 i5, 8GB)

vansmith is offline
If you passed the test, you're fine - you don't need to do anything else.

If you just switched, OpenDNS won't be blocking Facebook. Blocking a domain requires setting up an account with them and explicitly listing FB as a blocked domain so you'd know if it happens.

I want to try something. You mentioned that changing your DNS fixed it temporarily. Have you tried going to Facebook by using it's IP? If not, try going to http://66.220.149.11 (that's FB's IP).

Important Links: Community Guidelines : Use the reputation system if you've been helped.
M-F Blog :: Write for the blog
Writing a Quality Post
QUOTE Thanks
Ghemp

 
Member Since: Jun 10, 2012
Posts: 10
Ghemp is on a distinguished road

Ghemp is offline
yes, I have tried that.
unfortunately, it doesn't work either.

I was able to get on today, but only for about 5 minutes before facebook wouldn't respond anymore.
It doesn't make sense to me.

I still try other browsers, chrome seems to work the best.
Safari won't even let me on Google half the time.
QUOTE Thanks
Ghemp

 
Member Since: Jun 10, 2012
Posts: 10
Ghemp is on a distinguished road

Ghemp is offline
Just for anybody reading these posts, the problem was never resolved for me
UNTIL
I upgraded my OS from Leopard to Mountain Lion
I am pretty sure all my internet problems were solely from my outdated OS.
A lot of sites stopped supporting updates to software etc.
After getting Mountain Lion, i fell in love with my mac again.
It's like a new iMac!
QUOTE Thanks

Post Reply New Thread Subscribe


« Hard drive replacement | Need help figuring out some things... »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
iBook won't load web pages... JenC Apple Notebooks 5 05-24-2010 09:29 PM
What is the best (easiest) software for developping Scripted Web Pages on a Mac simonsjames Web Design and Hosting 0 03-22-2010 01:20 PM
Web Page Load Issues with Safari Tri3 OS X - Operating System 2 03-11-2008 12:39 PM

All times are GMT -4. The time now is 06:25 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?