>From firefox, you like to access the app servers using port numbers ? Like,
http://mysite.web:8000
http://mysite.web:8001
http://mysite.web:8002

Or using subdomain ? Like,
http://mysite1.web/
http://mysite2.web/
http://mysite3.web/

In the former case nginx must listen on 8000, 8001 and 8002 ports, in
the later case,
you may need to add the following lines in /etc/hosts

127.0.0.1    mysite1.web
127.0.0.1    mysite2.web
127.0.0.1    mysite3.web

As I said before I am not sure I understand the situation ...

On Tue, Dec 20, 2011 at 3:52 PM, kenneth gonsalves
<[email protected]> wrote:
> hi,
>
> for development purposes I have a number of websites running under name
> virtual hosts on my laptop. Setup: mysite.web, in /etc/hosts:
>
> 127.0.0.1    mysite.web
>
> front end is nginx listening on port 80 with a name virtual host proxied
> to another webserver  that actually runs the app on ports 8000 onwards.
> This works fine as long as there is an internet connection - if there is
> no internet connection, firefox barfs saying it cannot access the net
> and find the site. There is no problem if I run an IP based virtual host
> - but then I can only run one site at a time. In the old days firefox
> had an option like - 'these are local sites, no need for internet'. (or
> was that netscape? Any suggestions?
> --
> regards
> Kenneth Gonsalves
>
> --
> regards
> Kenneth Gonsalves
>
> _______________________________________________
> ILUGC Mailing List:
> http://www.ae.iitm.ac.in/mailman/listinfo/ilugc



-- 
Pratap.
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to