Author Topic: Apache Settings  (Read 4444 times)

0 Members and 1 Guest are viewing this topic.

Apache Settings
« on: April 05, 2019, 02:54:45 PM »
I would like to set up some websites at the server with CWP.  The domain & email are tested.

After the generation of SSL, I have checked the httpd.conf or ssl.conf (conf.d) are both with default information only.  The Let's Encrpt files are generated.
I tried to edit it manually with the document root and/or log information.  I have also clicked on the "Restart Web Server" service.

I type "" and it goes to the default CWP page rather than my testing index.html at /home/mydomainuser/public_html

I have checked 80/ 443 ports are listening.  I can type to return the CWP default page but not for / /

For example, ssl.conf

<VirtualHost *:443>
     SSLEngine On
     SSLCertificateFile /etc/pki/tls/certs/
     SSLCertificateKeyFile /etc/pki/tls/private/
     SSLCACertificateFile /etc/pki/tls/certs/  #If using a self-signed certificate or a root certificate provided by ca-certificates, omit this line

     DocumentRoot /home/mydominuser/public_html
     ErrorLog logs/mydomain/error.log
     CustomLog logs/mydomain/access.log combined

Re: Apache Settings
« Reply #1 on: April 05, 2019, 03:39:04 PM »
Hi, the VirtualHosts files placed in /usr/local/apache/conf.d/vhosts/
Also, make sure you do not have installed Apache from base or epel repos ;)
You can ask me to solve any problem with your server for some money in pm  ;)
Services Monitoring & RBL Monitoring
Join our Development Team and get paid !

Installation Instructions
Get Fast Support Here