You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Frank Gingras <th...@apache.org> on 2022/04/04 14:23:46 UTC

Re: [users@httpd] Re: Serve multiple websites (not sub-domains) from port 80

Sounds like simple Alias directives in the main vhost should suffice.

On Mon, 4 Apr 2022 at 11:17, Eric Covener <co...@gmail.com> wrote:

> On Mon, Apr 4, 2022 at 11:11 AM A <am...@gmail.com> wrote:
> >
> > Hi,
> >
> > I am planning to make changes to Apache web server so that it can serve
> multiple websites (not sub-domains) from port 80.
> >
> > This will save money for someone who has more than one website. That
> person need not buy more than one hosting plan, one hosting plan will
> suffice.
> >
> > Based on the incoming base URL, Apache web server will decide from which
> directory to serve the index file or other files. There will be a user file
> where user can list which website is mapped to which directory.
> >
> > For example:
> >
> > abcd:com:/abcd
> > xyz.com:/xyz
>
> It's hard to interpret what you mean by these examples. What full URL
> would your user use and what would the server do with it?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>