Alex,
I'm going to need your patience for this - what is the path to the config files I need?
IP not changed and all been working fine for about a year. All the other non-reseller (5) sites working fine, all have shared IP.
Most grateful for any help.
This is my guess at what I need to show user names changed to protect the innocent :
cat ./extra/directadmin-vhosts.conf
Include /usr/local/directadmin/data/users/aaaa/httpd.conf
Include /usr/local/directadmin/data/users/cccccexo/httpd.conf
Include /usr/local/directadmin/data/users/gilldddd/httpd.conf
Include /usr/local/directadmin/data/users/eeeea/httpd.conf
Include /usr/local/directadmin/data/users/problem/httpd.conf
Include /usr/local/directadmin/data/users/bbbbbbor/httpd.conf
cat ./extra/httpd-vhosts.conf
#
# Virtual Hosts
#
# Required modules: mod_log_config
#
# If you want to maintain multiple domains/hostnames on your
# machine you can setup VirtualHost containers for them. Most configurations
# use only name-based virtual hosts so the server doesn't need to worry about
# IP addresses. This is indicated by the asterisks in the directives below.
#
# Please see the documentation at
# <URL:http://httpd.apache.org/docs/2.4/vhosts/>
# for further details before you try to setup virtual hosts.
#
# You may use the command line option '-S' to verify your virtual host
# configuration.
##########################################################
# Use name-based virtual hosting. #
# All NameVirtualHost lines are in this file #
# Don't remove this line or apache will generate errors. #
##########################################################
Include /etc/httpd/conf/ips.conf
#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for all requests that do not
# match a ServerName or ServerAlias in any <VirtualHost> block.
#
<VirtualHost 91.239.65.187:80>
ServerAdmin webmaster@localhost
UserDir public_html
DocumentRoot /var/www/html
ServerName localhost
ScriptAlias /cgi-bin/ /var/www/cgi-bin/
CustomLog /var/log/httpd/homedir.log homedir
CustomLog /var/log/httpd/access_log combined
ErrorLog /var/log/httpd/error_log
<IfModule !mod_ruid2.c>
SuexecUserGroup webapps webapps
</IfModule>
</VirtualHost>
<VirtualHost 91.239.65.187:443>
ServerAdmin webmaster@localhost
UserDir public_html
DocumentRoot /var/www/html
ServerName localhost
ScriptAlias /cgi-bin/ /var/www/cgi-bin/
CustomLog /var/log/httpd/homedir.log homedir
CustomLog /var/log/httpd/access_log combined
ErrorLog /var/log/httpd/error_log
SSLEngine on
SSLCertificateFile /etc/httpd/conf/ssl.crt/server.crt
SSLCertificateKeyFile /etc/httpd/conf/ssl.key/server.key
SSLCACertificateFile /etc/httpd/conf/ssl.crt/server.ca
<IfModule !mod_ruid2.c>
SuexecUserGroup webapps webapps
</IfModule>
</VirtualHost>
cat /usr/local/directadmin/data/users/problem/httpd.conf
# Auto generated apache config file by DirectAdmin version 1.52.1
# Modifying this file is not recommended as any changes you make will be
# overwritten when the user makes any changes to their website
# For global config changes that affect all Users, see this guide:
#
http://help.directadmin.com/item.php?id=2
# For local config changes that only affect one User, see this guide:
#
http://help.directadmin.com/item.php?id=3
<Directory "/home/problem/public_html">
<IfModule mod_ruid2.c>
RMode config
RUidGid problem problem
#RGroups apache access
RGroups @none
</IfModule>
<IfModule mod_fcgid.c>
SuexecUserGroup problem problem
</IfModule>
php_admin_flag engine ON
php_admin_value sendmail_path '/usr/sbin/sendmail -t -i -f
[email protected]'
php_admin_value mail.log /home/problem/.php/php-mail.log
</Directory>
<VirtualHost 91.239.65.187:80 >
ServerName
www.problemtou.net
ServerAlias
www.problemtou.net problemtou.net digbat.biz
www.digbat.biz problemtou.com
www.problemtou.com
ServerAdmin
[email protected]
DocumentRoot /home/problem/domains/problemtou.net/public_html
ScriptAlias /cgi-bin/ /home/problem/domains/problemtou.net/public_html/cgi-bin/
UseCanonicalName OFF
<IfModule !mod_ruid2.c>
SuexecUserGroup problem problem
</IfModule>
<IfModule mod_ruid2.c>
RMode config
RUidGid problem problem
#RGroups apache access
RGroups @none
</IfModule>
CustomLog /var/log/httpd/domains/problemtou.net.bytes bytes
CustomLog /var/log/httpd/domains/problemtou.net.log combined
ErrorLog /var/log/httpd/domains/problemtou.net.error.log
<Directory /home/problem/domains/problemtou.net/public_html>
php_admin_flag engine ON
php_admin_value sendmail_path '/usr/sbin/sendmail -t -i -f
[email protected]'
php_admin_value mail.log /home/problem/.php/php-mail.log
php_admin_value open_basedir /home/problem/:/tmp:/var/tmp:/usr/local/lib/php/:/usr/local/php56/lib/php/
</Directory>
</VirtualHost>
<VirtualHost 91.239.65.187:443 >
SSLEngine on
SSLCertificateFile /usr/local/directadmin/data/users/problem/domains/problemtou.net.cert
SSLCertificateKeyFile /usr/local/directadmin/data/users/problem/domains/problemtou.net.key
SSLCACertificateFile /usr/local/directadmin/data/users/problem/domains/problemtou.net.cacert
ServerName
www.problemtou.net
ServerAlias
www.problemtou.net problemtou.net digbat.biz
www.digbat.biz problemtou.com
www.problemtou.com
ServerAdmin
[email protected]
DocumentRoot /home/problem/domains/problemtou.net/private_html
ScriptAlias /cgi-bin/ /home/problem/domains/problemtou.net/public_html/cgi-bin/
UseCanonicalName OFF
<IfModule !mod_ruid2.c>
SuexecUserGroup problem problem
</IfModule>
<IfModule mod_ruid2.c>
RMode config
RUidGid problem problem
#RGroups apache access
RGroups @none
</IfModule>
CustomLog /var/log/httpd/domains/problemtou.net.bytes bytes
CustomLog /var/log/httpd/domains/problemtou.net.log combined
ErrorLog /var/log/httpd/domains/problemtou.net.error.log
<Directory /home/problem/domains/problemtou.net/private_html>
php_admin_flag engine ON
php_admin_value sendmail_path '/usr/sbin/sendmail -t -i -f
[email protected]'
php_admin_value mail.log /home/problem/.php/php-mail.log
php_admin_value open_basedir /home/problem/:/tmp:/var/tmp:/usr/local/lib/php/:/usr/local/php56/lib/php/
</Directory>
</VirtualHost>
and for comparison:
cat /usr/local/directadmin/data/users/bbbbbbor/httpd.conf
# Auto generated apache config file by DirectAdmin version 1.52.1
# Modifying this file is not recommended as any changes you make will be
# overwritten when the user makes any changes to their website
# For global config changes that affect all Users, see this guide:
#
http://help.directadmin.com/item.php?id=2
# For local config changes that only affect one User, see this guide:
#
http://help.directadmin.com/item.php?id=3
<Directory "/home/bbbbbbor/public_html">
<IfModule mod_ruid2.c>
RMode config
RUidGid bbbbbbor bbbbbbor
#RGroups apache access
RGroups @none
</IfModule>
<IfModule mod_fcgid.c>
SuexecUserGroup bbbbbbor bbbbbbor
</IfModule>
php_admin_flag engine ON
php_admin_value sendmail_path '/usr/sbin/sendmail -t -i -f
[email protected]'
php_admin_value mail.log /home/bbbbbbor/.php/php-mail.log
</Directory>
<VirtualHost 91.239.65.187:80 >
ServerName
www.bbbbbb.org
ServerAlias
www.bbbbbb.org bbbbbb.org bbbbbbimms.me
www.bbbbbbimms.me
ServerAdmin
[email protected]
DocumentRoot /home/bbbbbbor/domains/bbbbbb.org/public_html
ScriptAlias /cgi-bin/ /home/bbbbbbor/domains/bbbbbb.org/public_html/cgi-bin/
UseCanonicalName OFF
<IfModule !mod_ruid2.c>
SuexecUserGroup bbbbbbor bbbbbbor
</IfModule>
<IfModule mod_ruid2.c>
RMode config
RUidGid bbbbbbor bbbbbbor
#RGroups apache access
RGroups @none
</IfModule>
CustomLog /var/log/httpd/domains/bbbbbb.org.bytes bytes
CustomLog /var/log/httpd/domains/bbbbbb.org.log combined
ErrorLog /var/log/httpd/domains/bbbbbb.org.error.log
<Directory /home/bbbbbbor/domains/bbbbbb.org/public_html>
php_admin_flag engine ON
php_admin_value sendmail_path '/usr/sbin/sendmail -t -i -f
[email protected]'
php_admin_value mail.log /home/bbbbbbor/.php/php-mail.log
php_admin_value open_basedir /home/bbbbbbor/:/tmp:/var/tmp:/usr/local/lib/php/:/usr/local/php56/lib/php/
</Directory>
</VirtualHost>
<VirtualHost 91.239.65.187:443 >
SSLEngine on
SSLCertificateFile /usr/local/directadmin/data/users/bbbbbbor/domains/bbbbbb.org.cert
SSLCertificateKeyFile /usr/local/directadmin/data/users/bbbbbbor/domains/bbbbbb.org.key
SSLCACertificateFile /usr/local/directadmin/data/users/bbbbbbor/domains/bbbbbb.org.cacert
ServerName
www.bbbbbb.org
ServerAlias
www.bbbbbb.org bbbbbb.org bbbbbbimms.me
www.bbbbbbimms.me
ServerAdmin
[email protected]
DocumentRoot /home/bbbbbbor/domains/bbbbbb.org/private_html
ScriptAlias /cgi-bin/ /home/bbbbbbor/domains/bbbbbb.org/public_html/cgi-bin/
UseCanonicalName OFF
<IfModule !mod_ruid2.c>
SuexecUserGroup bbbbbbor bbbbbbor
</IfModule>
<IfModule mod_ruid2.c>
RMode config
RUidGid bbbbbbor bbbbbbor
#RGroups apache access
RGroups @none
</IfModule>
CustomLog /var/log/httpd/domains/bbbbbb.org.bytes bytes
CustomLog /var/log/httpd/domains/bbbbbb.org.log combined
ErrorLog /var/log/httpd/domains/bbbbbb.org.error.log
<Directory /home/bbbbbbor/domains/bbbbbb.org/private_html>
php_admin_flag engine ON
php_admin_value sendmail_path '/usr/sbin/sendmail -t -i -f
[email protected]'
php_admin_value mail.log /home/bbbbbbor/.php/php-mail.log
php_admin_value open_basedir /home/bbbbbbor/:/tmp:/var/tmp:/usr/local/lib/php/:/usr/local/php56/lib/php/
</Directory>
</VirtualHost>
Thank you.
Neil