• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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