On 19 March 2020 18:19:38 CET, Peter Humphrey <pe...@prh.myzen.co.uk> wrote:
>Hello list,
>
>I want to set up a web server on a local box, and I'm following the
>Gentoo 
>guide[1]. I'd like two sites: one under /var/www/localhost and the
>other under 
>/var/www/mydomain, in which mydomain is registered to me.
>
>The main problem I'm having is that all the Gentoo documents I've found
>assume 
>far too much familiarity with apache. I've installed NextCloud using
>webapp-
>config; this is the layout:
>
>$ tree -L 3 /var/www
>/var/www
>├── localhost
>│   └── htdocs
>│       ├── fcgid-bin
>│       ├── index.orig
>│       └── index.php
>└── mydomain
>    ├── cgi-bin
>    ├── error
>    ├── htdocs
>    │   ├── cloud
>    │   ├── fcgid-bin
>    │   ├── index.orig
>    │   └── index.php
>    └── icons
>
>Is this a suitable layout? Once I get past this I may be asking for
>help with 
>/etc/apache2/vhosts.d/* .
>
>1.  https://wiki.gentoo.org/wiki/Apache
>
>-- 
>Regards,
>Peter.

Is there a specific reason you are using Apache?
I found it far simpler to use Nginx when dealing with different websites, incl. 
seperate SSL certificates per site even though it is 1 server and public IP.

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

Reply via email to