• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Adding www. prefix to domain

W

Woody1234

Guest
Hi,

All new to VPS and Parallels so please be gentle!

I have transferred one of my wordpress website from a standard hosting package into my VPS hosted with 123-reg. When changing the DNS to point at the server it lost the www. prefix. i.e. http://type-media.co.uk/ I was wondering how I could add it back onto the domain? Is it a A or CNAME record or name servers? Don't have a clue!

Also, does anyone know any 'beginners' guides for Plesk 11?

Thanks in advance.

Kris
 
Thanks Jayson!

I have that CNAME record in the Plesk DNS setting and also in my 123-reg DNS setting where the domain was bought. Still not working! Any other suggestions?

Thanks for the manual links!

Kris
 
Another way is (in case you dont use CN records):

In your FTP root (maybe in public_html) should be a file called .htaccess, then open it and add this code into it (problably after the first line, bofore other rules start) .



<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
</IfModule>


( if there is not such file, then create a simple new text file with notepad and upload to the website root directory, and rename it to .htaccess )


This is 301 (which is permanent redirect), and then after a few weeks the site will be visible with www in Google search engines anymore.
 
Back
Top