The easiest way is to request an additional IP address from your provider,
bind it to the machine, and then use that IP for APE (have APE listen on
that IP). Then in your DNS, you can point your A record to that.

The reason why APE needs a wildcard A record (default in most cases), is
because most browsers limit the number of open ajax connections per sub
domain to two. Since APE's connections remain open most of the time
(especially during long polling XHR), you can quickly exceed that amount
with just two tabs open in the same browser. So APE gets around it by
opening connections to 0.<subdomain> 1.<subdomain> etc.

Thanks,

Johnathan

On Tue, Sep 21, 2010 at 2:43 PM, Nicolas <[email protected]> wrote:

> I understand what you mean. It makes sense to me. Thx.
>
> However, unfortunately, I am afraid that I understand the APE
> architecture yet.
>
> Tell me where I am wrong:
>
> If I do
>
> ape     IN    A        x.x.x.x  ; The IP address of your APE server
> *.ape   IN    CNAME    ape
>
> on my OVH DNS Zone, then no request to ape.mydomain.com will ever
> reach my web server. It will reach the APE server, right?
>
>
>
> On Sep 21, 7:07 pm, Ruben Decleyn <[email protected]> wrote:
> > a ServerAlias is just an alias
> >
> > so mydomain.com/test.txt will also exists for ape.mydomain.com/test.txt
> >
> > dns is all about routing and ip's, so to wich server to go to
> > apache is how it gets handled on the server once the request gets there
> >
> > if you only have dns, the server will do nothing with it
> > if you only have apache, well no1 will ever find the server with that
> domain
> > so you need both
> >
> > Kind Regards.
> > Ruben Decleyn
> >
> > On Tue, Sep 21, 2010 at 6:30 PM, Nicolas <[email protected]>
> wrote:
> > > Hello,
> >
> > > I am trying to setup an APE server one one computer, and a web server
> > > on another one.
> >
> > > I registered a domain with OVH, let's call it mydomain.com.
> >
> > > I installed an apache server on a dedicated server (fixed ip) and put
> > > this fixed ip as the target of mydomain.com (A).
> >
> > > It works fine so far. Both mydomain.com andwww.mydomain.comshow what
> > > is on the Apache server.
> >
> > > I am however getting confused for the rest.
> >
> > > 1) The doc says that I should do
> > > ape     IN    A        x.x.x.x  ; The IP address of your APE server
> > > *.ape   IN    CNAME    ape
> >
> > > If I go again to OVH DNS ZONE, it seems I can indeed do that.
> >
> > > 2) The doc also says that I should add to my virtual host the
> > > following:
> > > ServerAlias ape.yourdomain.com
> > > ServerAlias *.ape.yourdomain.com
> >
> > > I think I can also do this easily on my Apache server.
> >
> > > However, I am getting confused. To me, it seems 1) and 2) are
> > > contradictory. If a user lambda requests ape.mydomain.com he will get
> > > the IP of the APE server according to 1), but he will request
> > > something for the apache server according to 2).
> >
> > > This is probably pretty obvious to you, but not for me.
> >
> > > Any help appreciated.
> >
> > > Thx in advance.
> >
> > > --
> > > You received this message because you are subscribed to the Google
> > > Groups "APE Project" group.
> > > To post to this group, send email to [email protected]
> > > To unsubscribe from this group, send email to
> > > [email protected]<ape-project%[email protected]>
> <ape-project%[email protected]<ape-project%[email protected]>
> >
> > > For more options, visit this group at
> > >http://groups.google.com/group/ape-project?hl=en
> > > ---
> > > APE Project (Ajax Push Engine)
> > > Official website :http://www.ape-project.org/
> > > Git Hub :http://github.com/APE-Project/
>
> --
> You received this message because you are subscribed to the Google
> Groups "APE Project" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<ape-project%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/ape-project?hl=en
> ---
> APE Project (Ajax Push Engine)
> Official website : http://www.ape-project.org/
> Git Hub : http://github.com/APE-Project/
>

-- 
You received this message because you are subscribed to the Google
Groups "APE Project" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/ape-project?hl=en
---
APE Project (Ajax Push Engine)
Official website : http://www.ape-project.org/
Git Hub : http://github.com/APE-Project/

Reply via email to