• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

CNAME Not Working it Goes To Plesk Default Page

S

swiftusa

Guest
Your valuable time and help will be much appreciated

I am on VDS on GoDaddy with Plesk 8.3 for Windows & MS Win 2003

Example - If I use a CNAME XX.mydomain.com to yahoo.com
and when I type XX.mydomain.com on my web browser it must take me to yahoo.com

In the same way I add a CNAME inside the DNS Settings of Plesk
control.mydomain.com (to-go-to) mydomain.com

But My Problem is when I type control.mydomain.com on my web browser it is taking me to Plesk Default Page and not to mydomain.com

Please Help!
 
Found the solution, here it is:

Say we want 123.foo.com CNAME foo.com

1. Log into PLESK and add the CNAME record to your domains DNS
2. Create file var/www/vhosts/foo.com/conf/vhost.conf with the following 1 line:
ServerAlias 123.foo.com
3. From shell run the following:
/usr/local/psa/admin/sbin/websrvmng --reconfigure-vhost --vhost-name=foo.com

Will work straight away - from your Browser type your domain (123.foo.com)
 
Simpler way?

Try restarting Apache for the cname change to kick in. This should be more simple than making the manual change as the above post.

i.e. at the Linux prompt, type and enter:
/etc/init.d/httpd restart

thanks
Ed
Jabez Networks, Inc.
Web Solutions, E-commerce, and SEO Consulting
 
Last edited by a moderator:
Back
Top