Welcome! Log In Create A New Profile

Advanced

Re: virtual host in one ip address

March 04, 2011 01:24AM
What does "nginx -V " show ?

On Mar 4, 2011, at 9:17 , Alex H wrote:

> Where is this config file that I need to edit?
>
>
>
>
>
> From: igor@sysoev.ru
> Date: Fri, 4 Mar 2011 09:15:26 +0300
> To: nginx@nginx.org
> Subject: Re: virtual host in one ip address
>
> On Mar 4, 2011, at 9:10 , Alex H wrote:
>
> Is this on the default of the nginx.conf?
>
> I do not know what do you mean by default. The whole configuration is like
>
> http {
> server {
> location /v_host1/ {
> }
> location /v_host1/ {
> }
> }
> }
>
> That's all.
>
> From: igor@sysoev.ru
> Date: Fri, 4 Mar 2011 09:01:33 +0300
> To: nginx@nginx.org
> Subject: Re: virtual host in one ip address
>
> On Mar 4, 2011, at 7:22 , Alex H wrote:
>
>
> I have a rackspace server running with nginx. I am a newbie to all the server stuff. Let me explain the situation here:
>
> I have an IP address and I have two virtual host on my machine.
> I don't have a domain and I don't want to buy one
> I want to map it so I can access the website as xxx.xxx.xxx.xxx/v_host1 and xxx.xxx.xxx.xxx/v_host2
> How can I do this the easy way? I am guessing I should change the nginx config of my site... but not sure which one to change.
>
> server {
> location /v_host1/ {
> root /path/to/v_host1;
> }
> location /v_host2/ {
> root /path/to/v_host2;
> }
>
>
> --
> Igor Sysoev
> http://sysoev.ru/en/
>
>
> _______________________________________________ nginx mailing list nginx@nginx.org http://nginx.org/mailman/listinfo/nginx_______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://nginx.org/mailman/listinfo/nginx
>
>
> --
> Igor Sysoev
> http://sysoev.ru/en/
>
>
> _______________________________________________ nginx mailing list nginx@nginx.org http://nginx.org/mailman/listinfo/nginx_______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://nginx.org/mailman/listinfo/nginx


--
Igor Sysoev
http://sysoev.ru/en/

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

virtual host in one ip address

equinox March 03, 2011 11:26PM

Re: virtual host in one ip address

Igor Sysoev March 04, 2011 01:04AM

RE: virtual host in one ip address

equinox March 04, 2011 01:14AM

Re: virtual host in one ip address

Igor Sysoev March 04, 2011 01:18AM

RE: virtual host in one ip address

equinox March 04, 2011 01:20AM

Re: virtual host in one ip address

Igor Sysoev March 04, 2011 01:24AM

RE: virtual host in one ip address

equinox March 04, 2011 01:34AM

Re: virtual host in one ip address

Igor Sysoev March 04, 2011 01:38AM

RE: virtual host in one ip address

equinox March 04, 2011 02:10AM

Re: virtual host in one ip address

Pascal Nitsche March 04, 2011 03:38AM

RE: virtual host in one ip address

equinox March 04, 2011 08:42AM

Re: virtual host in one ip address

David J. March 04, 2011 08:46AM

RE: virtual host in one ip address

equinox March 04, 2011 09:48AM

Re: virtual host in one ip address

David J. March 04, 2011 09:56AM

RE: virtual host in one ip address

equinox March 04, 2011 10:06AM

Re: virtual host in one ip address

David J. March 04, 2011 10:08AM

RE: virtual host in one ip address

equinox March 04, 2011 10:20AM

Re: virtual host in one ip address

Pascal Nitsche March 04, 2011 10:06AM

Re: virtual host in one ip address

fbhosted March 05, 2011 02:42AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 226
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready