Question Ubuntu 24.04 LTS and Apache default ip folder

LRLD

Basic Pleskian
Server operating system version
Ubuntu 24.04
Plesk version and microupdate number
18.0.63 Update #1
Hi everyone,

I noticed something I wasn't expecting on my new Ubuntu 24 servers...When I download the /etc/apache2/plesk.conf.d/ip_default/my-domain.tld.conf file, instead of getting the full apache config file like I used to, I get...

#ATTENTION!
#
#DO NOT MODIFY THIS FILE BECAUSE IT WAS GENERATED AUTOMATICALLY,
#SO ALL YOUR CHANGES WILL BE LOST THE NEXT TIME THE FILE IS GENERATED.
#IF YOU REQUIRE TO APPLY CUSTOM MODIFICATIONS, PERFORM THEM IN THE FOLLOWING FILES:
#/var/www/vhosts/system/my-domain.tld/conf/vhost.conf
#/var/www/vhosts/system/my-domain.tld/conf/vhost_ssl.conf

The full config file for the default website for the ip now resides in /etc/apache2/plesk.conf.d/vhosts.
Is this correct? Because the corresponding Nginx file is still in the /etc/nginx/plesk.conf.d/ip_default folder, where I'd expect.

I have checked both of my Ubuntu 24 servers, and both are showing the same.
Thanks in advance for your help.

Regards

LD
 
To put it another way...

Apache
cat /etc/apache2/plesk.conf.d/ip_default/domain.com.conf
#ATTENTION!
#
#DO NOT MODIFY THIS FILE BECAUSE IT WAS GENERATED AUTOMATICALLY,
#SO ALL YOUR CHANGES WILL BE LOST THE NEXT TIME THE FILE IS GENERATED.
#IF YOU REQUIRE TO APPLY CUSTOM MODIFICATIONS, PERFORM THEM IN THE FOLLOWING FILES:
#/var/www/vhosts/system/domain.com/conf/vhost.conf
#/var/www/vhosts/system/domain.com/conf/vhost_ssl.conf

and

Nginx
cat /etc/nginx/plesk.conf.d/ip_default/domain.com.conf
#ATTENTION!
#
#DO NOT MODIFY THIS FILE BECAUSE IT WAS GENERATED AUTOMATICALLY,
#SO ALL YOUR CHANGES WILL BE LOST THE NEXT TIME THE FILE IS GENERATED.

server {
listen 123.456.7.8:443 quic;
add_header Alt-Svc 'h3=":443"; ma=86400';
listen 123.456.7.8:443 default_server ssl;
http2 on;

continued ~~~~~~

As you can see, the Nginx file is as expected for the IP addresses default website.
I have to "cat /etc/apache2/plesk.conf.d/vhosts/domain.com.conf" to get the expected Apache file....

cat /etc/apache2/plesk.conf.d/vhosts/domain.com.conf
#ATTENTION!
#
#DO NOT MODIFY THIS FILE BECAUSE IT WAS GENERATED AUTOMATICALLY,
#SO ALL YOUR CHANGES WILL BE LOST THE NEXT TIME THE FILE IS GENERATED.
#IF YOU REQUIRE TO APPLY CUSTOM MODIFICATIONS, PERFORM THEM IN THE FOLLOWING FILES:
#/var/www/vhosts/system/domain.com/conf/vhost.conf
#/var/www/vhosts/system/domain.com/conf/vhost_ssl.conf
<IfModule mod_ssl.c>

<VirtualHost 127.0.0.1:7081 >
ServerName "domain.com"
ServerAlias "www.domain.com"
ServerAlias "ipv4.domain.com"
ServerAlias "123.456.7.8"
UseCanonicalName Off

continued ~~~~~~

I hope that explains it a bit better.
Is /etc/apache2/plesk.conf.d/ip_default/ supposed to be used?

Thanks again

LD
 
Back
Top