Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

GoodtobetheKing

macrumors member
Original poster
Aug 19, 2010
36
0
Before I talk about the problem I'm having, I want to state that I'm allowed to access youtube.com for work.

With that out of the way....:)

We can't access youtube on any of our computers on our servers. There's no proxy or firewall in place that would cause me to not be able to access it (I checked the system preferences). I've tried using different web clients (Firefox, Safari, etc.) but they all say they can't access youtube.com.

Now here's the weird part: I can access youtube on VM Ware. :confused: It worked fine last week but on Friday it stopped being able to access it.

We're running Mac OS X 10.5.8. Everything is up to date as much as it can be (Flash, JavaScript, etc.). I know we don't have Snow Leopard but that shouldn't be a factor. I've cleared the cache, cookies, and history but nothing has worked.

My supervisor and I are both confused, any suggestions on how to fix this problem?
 
Last edited:
Only thing i can think of is to check the hosts file, which could be blocking youtube.com.

here are instructions to check the hosts file on osx.

Introduction
The hosts file is a text file that maps hostnames to IP addresses.
Upon typing a url address on the browser, the system is checking if there is a relevant entry on the hosts file and gets the corresponding IP address, else it resolves the IP via the active connection’s DNS servers.
The hosts file can be edited to block certain hostnames (like ad-serving/malicious hosts), or used for web development purposes, i.e. to redirect domains to local addresses.


Editing the hosts file
Editing the hosts file in Mac OS X – Leopard, is a pretty easy task, especially if you are familiar with the terminal.


Step 1 – Open the Terminal.app
Either by start typing Terminal on the Spotlight, or by going into Applications -> Utilities -> Terminal.


Step 2 – Open the hosts file
Open the hosts by typing on the Terminal that you have just opened:
1$ sudo nano /private/etc/hosts


Type your user password when prompted.


Step 3 – Edit the hosts file
The hosts file contains some comments (lines starting with the # symbol), as well as some default hostname mappings (e.g. 127.0.0.1 – localhost).
Simply append your new mappings underneath the default ones. Or edit one of the default values if you know what you are doing!
You can navigate the file using the arrow keys.


Step 4 – Save the hosts file
When done editing the hosts file, press control-o to save the file.
Press enter on the filename prompt, and control-x to exit the editor.


Step 5 – Flush the DNS cache
On Leopard you can issue a simple Terminal command to flush the DNS cache, and have your host file changes to take immediate effect:
1$ dscacheutil -flushcache




You can now test your new mapping on the browser!
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.