Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I had configured my machine all access localhost I need some accessed "http://*.localhost.com:3000," * - I put the names of some projects and instances. I needed to run a PHP server and installed MAMP Pro, but after I ran the php server can't access my others servers more. The http://localhost:3000 it works, but when I need to access the http://*.localhost.com:3000 don't work, I've checked in /etc/hosts and everything is ok.

About the project in php, I have finished and even uninstalled MAMP but not back to normal, the problem continues... My computer is a mac with Snow Leopard.

Does anyone know how to solve? Thanks

my /etc/hosts:

# 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 planner.localhost lambitter.localhost.com bolasolta.localhost.com localhost.com seta.localhost.com crieme.localhost.com
255.255.255.255  broadcasthost
::1             localhost 
fe80::1%lo0  localhost
share|improve this question
    
I know you say it's fine, but what does your hosts file say? –  James L Sep 22 '10 at 19:07

1 Answer 1

up vote 0 down vote accepted

Can you ping any of the subdomains? If so, the problem is with whatever listens on port 3000 not being configured to listen for those domains. In Apache it's vhosts, with RoR I'm not sure.

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.