• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Question Ubuntu 24.04 LTS and Apache default ip folder

LRLD

New 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