From mboxrd@z Thu Jan 1 00:00:00 1970 Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!news.gegeweb.eu!gegeweb.org!pasdenom.info!.POSTED.2a01:e0a:472:70f0:acec:6ab0:5da3:fadb!not-for-mail From: DrPi <314@drpi.fr> Newsgroups: comp.lang.ada Subject: Re: Ada/GNAT/AWS-friendly web hosting Date: Thu, 12 Sep 2024 16:54:45 +0200 Organization: Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Thu, 12 Sep 2024 14:54:45 -0000 (UTC) Injection-Info: rasp.pasdenom.info; posting-account="314@usenet"; posting-host="2a01:e0a:472:70f0:acec:6ab0:5da3:fadb"; logging-data="24468"; mail-complaints-to="abuse@pasdenom.info" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:Vj44kNzNaSHsX2fwFdHorBg9Fvc= sha256:Csvjpuwt2Ze4W4Oz0DQqqp73NlcHxkM191C3AExESdI= sha1:ZIDiWxq2xRPPsWaK8fHnnVT9w+k= sha256:sOzZL8TdmPP2fI7aIcLITNkSJBXbHMRatlYsa53rtvU= Content-Language: en-US In-Reply-To: Xref: news.eternal-september.org comp.lang.ada:66345 List-Id: Le 12/09/2024 à 16:25, Marius Alves a écrit : > Researching how to build an HTTP server (serving a website) on a local > machine (MacOS) using AWS (Ada Web Server) and deploy it on a web > hosting provider (e.g. 1dollar-webhosting.com). > > The host is already running an HTTP server program (probably Apache). > Must it be turned off? How? The usual way is to use Apache (or nginx or another one) as a front end. Your application uses port 1080 (or something else) and the front end relays this port to the external 80 port. This way, the security stuff is manage by the front end, not your application. You can also run multiple applications, each being redirected to its domain name/path.