Multiple domain files

#1

Hosting myself Debian Jessie 64 Apache2. When multiple domains are used what are the files associated with giving that direction?
Aside from test.com.conf and example.com.conf what are some other files that might be responible for handling each domain?
Does certbot create any?

#2

Those are the configuration files used for renewal, but there are the actual certificate data files which are located in the live and archive directories.

You can learn more about what certificates you have and what names they cover by running certbot certificates.

1 Like
#3

Ok bro thanks much this is what I did and it works. Not 100% sure why it works but it does and I have a hunch.

cd /etc/apache2/sites-available

ls -al | cat | less | more

gedit test.com-le-ssl.conf (I use gedit instad of vim or nano)

ServerAdmin webmaster@localhost
ServerName test.com
ServerAlias www.test.com
DocumentRoot /var/www/test.com/public_html
DocumentRoot /var/www/test.com/public_html

###second instance of DocumentRoot was removed and file was saved ###

service apache2 reload

So not completely certain but, I may have only needed to reload apache2. as there are still 2 instances of the DocumentRoot in the example.com-le-ssl.conf file.

closed #4

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.