Re: AWS applications and domain hosting
- From: Jacob Sparre Andersen <sparre@xxxxxx>
- Date: 27 Jun 2005 00:46:37 +0200
Marius Amado Alves <amado.alves@xxxxxxxxxx> writes:
> This subject greatly interests me too, as I plan to deploy AWS-based
> websites soon. I'll add what little I know, and join the original
> poster in asking for help.
>
> As others have told, yes, domain and hosting are formally
> separate. But many hosts offer registration, e.g. Yahoo!, and often
> the package price beats buying the two things separately.
That's not my experience.
> Anyway, the information related to AWS belongs to the hosting part
> only.
Yes.
> I think that, unlike someone else said, a separate web server, or
> proxy (Apache), is neither required nor useful. The host system only
> has to open a port (?) to AWS sockets, right? And allow the
> AWS-based executable to run with the right
> parameters/permissions/ownership/priorities...
The benefit of running through a proxy are:
a) You don't have to implement plain handing out of static files
yourself.
b) Your daemon doesn't have to run as "root" (which is the case, if
you want it to bind directly to port 80 on the system).
And a side-effect of b) is that you may be able to get a cheaper
solution since you don't need a complete (virtual) computer just for
your site.
> It is these (currently, to me, slightly fuzzy) elements that I'd
> love to see well described.
In Unix you have to be "root" to act as a server on any port in the
range 0-1023. IIRC, Apache is started as "root", but downgrades its
privileges as soon as it has grabbed port 80. I don't know exactly
how it is done. Anybody who wants to put a service directly on the
network should understand how to run it with minimal privileges.
Although Apache isn't perfect, it is good enough for most of my needs,
so I can't see the point in reimplementing all of Apache, just because
I want to solve some particular problems which Apache can't handle.
Jacob
--
"You've got to build bypasses!"
.
- Follow-Ups:
- Re: AWS applications and domain hosting
- From: Randy Brukardt
- Re: AWS applications and domain hosting
- References:
- AWS applications and domain hosting
- From: Martin Dowie
- Re: AWS applications and domain hosting
- From: Marius Amado Alves
- AWS applications and domain hosting
- Prev by Date: Re: GNAT Project Files?
- Next by Date: Re: AWS applications and domain hosting
- Previous by thread: Re: AWS applications and domain hosting
- Next by thread: Re: AWS applications and domain hosting
- Index(es):
Relevant Pages
|