Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Cherokee: dev

Host without domain name

 

 

Cherokee dev RSS feed   Index | Next | Previous | View Threaded


monnand.deng at gmail

Oct 31, 2010, 4:22 AM

Post #1 of 3 (325 views)
Permalink
Host without domain name

Dear all,

I am new to cherokee and I encountered a quite simple problem:

The cherokee server runs on a box in my LAN and I want to access one of
its virtual server on another laptop.

I followed the instructions in the cookbook and created a django virtual
server. When I typed the IP address of the server on my laptop (which is
a different machine from the web server), I always got the default page
of cherokee server, not my django application.

I think my requirement is quite simple:
o There is one machine whose IP address is A; cherokee runs on this
machine and a django application is set up there.
o There is another machine B.
o I want to access the django application only using the IP address A,
since I do not want to use a domain name.

Thanks!

-Monnand
--
Regards

Monnand
Email: monnand [at] gmail
GTalk: monnand [at] gmail
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev [at] lists
http://lists.octality.com/listinfo/cherokee-dev


alvaro at octality

Oct 31, 2010, 9:54 AM

Post #2 of 3 (301 views)
Permalink
Re: Host without domain name [In reply to]

On 31/10/2010, at 12:22, monnand wrote:

> The cherokee server runs on a box in my LAN and I want to access one of
> its virtual server on another laptop.
>
> I followed the instructions in the cookbook and created a django virtual
> server. When I typed the IP address of the server on my laptop (which is
> a different machine from the web server), I always got the default page
> of cherokee server, not my django application.

You have to add a new entry in the Virtual Server match:

vServers ➭ (that django vserver) ➭ Host Match ➭ Wildcards ➭ Add New

Then, you add as many names and IPs as you want. Eg: 10.0.0.1, *.example.com, example.*

--
Octality
http://www.octality.com/

_______________________________________________
Cherokee-dev mailing list
Cherokee-dev [at] lists
http://lists.octality.com/listinfo/cherokee-dev


monnand.deng at gmail

Oct 31, 2010, 12:57 PM

Post #3 of 3 (300 views)
Permalink
Re: Host without domain name [In reply to]

Alvaro Lopez Ortega wrote:
> On 31/10/2010, at 12:22, monnand wrote:
>
>> The cherokee server runs on a box in my LAN and I want to access one of
>> its virtual server on another laptop.
>>
>> I followed the instructions in the cookbook and created a django virtual
>> server. When I typed the IP address of the server on my laptop (which is
>> a different machine from the web server), I always got the default page
>> of cherokee server, not my django application.
>
> You have to add a new entry in the Virtual Server match:
>
> vServers ➭ (that django vserver) ➭ Host Match ➭ Wildcards ➭ Add New
>
> Then, you add as many names and IPs as you want. Eg: 10.0.0.1, *.example.com, example.*
>

Thank you! It works now!

> --
> Octality
> http://www.octality.com/
>
>


--
Regards

Monnand
Email: monnand [at] gmail
GTalk: monnand [at] gmail
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev [at] lists
http://lists.octality.com/listinfo/cherokee-dev

Cherokee dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.