• 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.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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