• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

Apache question

P

PedstersPlanet

Guest
Is it possible to make the ServerName to have a www. infront of the domain name by default, and just the domain name as the alias without the www.?
The reason is that some of my php scripts have keys, these need the www. infront of the ServerName.... I can manually edit the httpd.include file, but if Iadd a sub-domain in Plesk, it reverts back to the non www.......
Can this be done? In SSH?

Thanks
 
Is this the wrong forum, or does no-one know or understand my question. :)
 
The forum is correct, it is just that Plesk is setup to do it the other way around, there is no easy fix to do the reverse as you wish, other than manually editing the apache files as you have already done.

And as you have already found out, anytime there are domain/subdomain changes done in Plesk, the apache conf files are overwritten.
 
Thanks..Maybe this could be a future (root user) feature, per domain or globally - .....

Anyway, thanks again....
 
Back
Top