Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This is happening on OS X 10.8 in both Chrome, Firefox, and Safari. There is currently nothing running on port 3000 so I cannot imagine it is related to the Rails project there. It seems to be system wide but I wiped the etc/hosts file and flushed the cache.

share|improve this question
1  
Did you try http:// localhost:3000? – cutrightjm Jul 3 '13 at 14:59
    
Yes, I found the reason so I'll update in a second. – Aaron Jul 3 '13 at 15:03
up vote 1 down vote accepted

The culprit was Rack. Another developer had added rack middleware that did a 301 redirect for all domains to go to www.#{domain}

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.