• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Resolved Adding WWW prefix

Biz User

New Pleskian
Hi friends, I ran into few issues when I added www.mysitename.com as the preferred domain name over mysitename.com. It worked fine for a while then the site crashed. SO when we go to Hosting & DNS settings & select the preferred domain name with www prefix, it doesn't work. Does anyone know how to set the preferred domain name with www prefix without causing crashing the website. Value your replies a lot. Thanks in advance.
 
What do you mean by crashing? Is a particular error shown? Are there any errors in the websites logs files?
 
What do you mean by crashing? Is a particular error shown? Are there any errors in the websites logs files?
Yeah 'Hmm... can't reach this page' error. Like when you try a link and the website is removed or wrong url, that error. Is that common or removing the website and installing it again might fix the problem?
 
You'll need to match the configuration of your website's preferred URL with the configuration of your web server's preferred URL, else they will redirect to each other and stop after 10 such redirects, and the site won't be delivered. So probably your website has a non-www URL as the standard URL. This needs to be changed to the same spelling that you use as the preferred URL in the web server.
 
You'll need to match the configuration of your website's preferred URL with the configuration of your web server's preferred URL, else they will redirect to each other and stop after 10 such redirects, and the site won't be delivered. So probably your website has a non-www URL as the standard URL. This needs to be changed to the same spelling that you use as the preferred URL in the web server.
Thank you for replying. Could you please elaborate a little bit on how can I do that? What I did was adding a domain name and installing a wordpress website. After that when I need to change the preferred domain name that issue occurs. Only way I know how to do that is using the hosting option and selecting the preferred domain name with the www prefix. so, what am I doing wrong here? What should be my next steps?
 
In your WordPress backend, go to Settings -> General Settings.
Change the WordPress Address (URL) and Site Address (URL) to the new www-URL.
 
In your WordPress backend, go to Settings -> General Settings.
Change the WordPress Address (URL) and Site Address (URL) to the new www-URL.
WordPress Address (URL) cannot be changed. Site Address (URL) is the only one that can be changed. After I changed it, I couldn't log into wordpress backend.
 
You can check the *_options table of the database of your Wordpress for the "siteurl" and "home" datasets. There you can modify the URL directly. You could for example reset it to the initial value so that you can login again.
 
You can check the *_options table of the database of your Wordpress for the "siteurl" and "home" datasets. There you can modify the URL directly. You could for example reset it to the initial value so that you can login again.
So is it enough to just change those datasets?
 
This solution involves correctly configuring DNS, setting up redirects, updating website settings, and SSL certificate to establish the preferred website address with the "www" prefix while avoiding crashes. If in doubt, consult your hosting provider or a webmaster.
 
Issue fixed guys. Removed the domain from plesk and added it again. Then selected the preferred domain and only after that, copied all the data from staging site. As @dawidmazurkiewicz said, correctly configured DNS settings (like adding mywebsite.com as a CNAME for www.mywebsite.com. because it's www domain name is added as the CNAME by default and selecting the preferred domain name doesn't change these DNS settings). Then it all worked just fine. Thanks all for your support!
 
Back
Top