• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

how to catch wwww or other typos to the right domain?

L

lizard

Guest
I'm running the latest version of plesk 7.5.4 on FC2. When setting up domains, I've found that if a person types anything other than www. they are presented with the server's default domain. For example, 123.newdomain.com points to www.defaultdomain.com (customers would not be too happy about that!)

www.newdomain.com = newdomain.com's website

wwww.newdomain.com = defaultdomain.com's website.

How can I make plesk understand that anything.newdomain.com should be equal to www.newdomain.com?

I am not using the dns part of plesk, I'm using my hosting provider's DNS to setup A records for newdomain.com that points to the servers IP address. no Cnames or anything else.

Thanks!!!
 
Well, I went into /home/httpd/vhosts/newdomain.com/conf/httpd.include and added a server alias:
ServerAlias *.newdomain.com
This was added right under the line:
ServerAlias www.newdomain.com
Hopefully this won't screw anything up, but it seems to work fine. I'd appreciate any comments or information if this is somehow something that can be done in plesk.

Thanks.
 
Back
Top