• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Subdomain a folder of the mainsite

L

lamc09

Guest
Hi - I have searched the forum but cannot find an answer for PLESK 9

I have just changed VPS service providers for an existing site with 4 well indexed subdomains, and with it moved from CPANEL to PLESK 9.5 Linux.

The site was set up perfectly as I wanted it in CPANEL - where all the site was under public_html, and the subdomains (auto created by CPANEL) were simply subfolders of the main site. The URLs were however www.subdomain.domain.com - which is exactly what we wanted. It also means that I can simply click synchronise in Dreamweaver and update all the site at once.

BUT since migrating over to PLESK - I now see that none of this is automated and the subdomains sit on the root which is weird as they are treated as their own websites and make maintenance way more time-consuming from a web developers point of view. None of this is ideal and I seem to have now spent 2 full working days trying to sort this out to no avail (I am not a network specialist just general IT).

Currently I have managed to get the subdomains operational by populating the folders created at root incl www prefix, but the none www shows a plesk page.

What I would like to simply do - is recreate what I had under CPANEL:
1) all subdomains point to their subfolder on the main site
2) all subdomains have the www in front of them, where the none www redirects to www (this is how they are indexed on the search engines)

Is there any step by step guide that explains how I do this? It's so simple in CPANEL (a matter of seconds) and to spend 2 whole days messing around with CONF files and DNS settings with no result is very disheartening.

Thanks so much for your time

PS - I understand on other versions of PLESK this was also automated - shame something clearly so useful was not included on this version
 
Last edited by a moderator:
Back
Top