On Sun, Apr 25, 2021 at 6:30 PM H <age...@meddatainc.com> wrote:
>
> On 04/25/2021 06:39 PM, o1bigtenor wrote:
> > On Sun, Apr 25, 2021 at 5:34 PM H <age...@meddatainc.com> wrote:
> >> On 04/22/2021 08:24 PM, H wrote:
> >>> On 04/22/2021 06:02 PM, Richard wrote:
> >>>>> Date: Thursday, April 22, 2021 16:53:56 -0400
> >>>>> From: H <age...@meddatainc.com>
> >>>>>
> >>>>> I read on one webpage that the locations (ie app1, app2 etc) have
> >>>>> to have their own A records. Does that mean that I need to have
> >>>>> app1.mydomain.com, app2.mydomain.com etc. registered individually
> >>>>> with my domain registrar for each of them to get its own A record?
> >>>> Yes, the sub-domains need A-records, that is done through the DNS
> >>>> records you set up for the domain. Only the *domain* (e.g.,
> >>>> example.com) is registered with the registrar.
> >>>>
> >>>>
> >>>>
> >>>> ---------------------------------------------------------------------
> >>>> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
> >>>> For additional commands, e-mail: users-h...@httpd.apache.org
> >>>>
> >>> Great, thank you. I just did that and another piece of knowledge fell 
> >>> into place... :-) I will let it propagate overnight and look at it again 
> >>> tomorrow.
> >>>
> >> I am very happy to share that with the help of this group, I now have 
> >> several php applications running on the server. All but one of the apps 
> >> use php 7.2, with one using 7.0. Logging to separate error files and 
> >> access files now also works fine. IOW, the piece I missed was that IP 
> >> address cannot be used to differentiate between various virtual hosts, 
> >> instead a combination of domain name and subdomain needs to be used and A 
> >> records created.
> >>
> > I am going to be doing similar pdq - - - - would you care to share
> > your 'virtualhost' file?
> >
> > TIA
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
> > For additional commands, e-mail: users-h...@httpd.apache.org
> >
> Delighted to, limited as my knowledge is.
>
> First, my setup is CentOS7, apache and using php-fpm to allow several 
> versions of php to be used simultaneously. I am not familiar with pdq and 
> have no insight there.
>
> Second, the various apps need to be reachable via a domain address and each 
> app residing in its own subdirectory needs its own subdomain. IOW, 
> app1.mydomain.com, app2.mydomain.com etc.
>
> Each of the subdomains can point to the same IP address as mydomain.com but 
> need to have A records configured by you with your domain name registrator.
>
> Leaving out configuration issues, this is an example of a virtualhost file, 
> app1.conf, for app1.mydomain.com:
>
> <VirtualHost *:80>
>     ServerName app1.mydomain.com
>     DocumentRoot /var/www/html/app1
>
>     Include /etc/httpd/conf.d/rh-php70-php-fpm.conf
>
>     ErrorLog /var/log/httpd/app1-error.log
>     CustomLog /var/log/httpd/app1-access.log combined
>
>     DirectoryIndex index.html index.php
>
>     <Directory "/var/www/html/app1">
>         Options none
>         AllowOverride all
>         Require all granted
>     </Directory>
> </VirtualHost>
>

Thank you for sharing!!!!

pdq - - - acronym for pretty d@#$ quick - - - - its a lot older than
micro-computers - - - sorry!

Thanking you for your assistance!!!!!!!!!!!!!!

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to