1. Did you save the hosts file ?
2. Did you restart your network ?

On Thu, Mar 19, 2015 at 7:49 PM, Leandro França <
[email protected]> wrote:

> Hi there,
>
> I'm using act_as_tenant gem and I would like to test it on my local
> environment.
> I need to have entries like "app1.localhost", "app2.localhost", etc.
>
> I've tried to set those entries on /etc/hosts:
>
> 127.0.0.1 localhost
> 127.0.0.1 app1.localhost
> 127.0.0.1 app2.localhost
>
>
> But http://app2.localhost:3000 does not respond.
>
> Am I missing something?
>
> P.S.: I'm using a vagrant running Ubuntu.
>
> Thanks in advance
>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/rubyonrails-talk/ba5c9c06-d2fd-422a-9d15-bc0f98be6474%40googlegroups.com
> <https://groups.google.com/d/msgid/rubyonrails-talk/ba5c9c06-d2fd-422a-9d15-bc0f98be6474%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/CAFKVRj9C-NHMLx6K_nV9q6Z1_3WQVKHChBRW%3DYOzove%2B8Sfj4A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to