• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

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