• 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.

Subdomain best practices

  • Thread starter michaelespinosa
  • Start date
M

michaelespinosa

Guest
What is the best way to have a subdomain my.example.com serve the files from example.com/my? I don't see anything out of the box in plesk.
 
I do not understand the main purpose of this relocation, but seems default location in /var/www/vhosts/domain.tld/subdomains/sub/httpdocs is hardcoded. You can change location of document root for subdomain in /var/www/vhosts/domain.tld/conf/httpd.include but it will be overwritten by Plesk.
 
The main purpose is for website optimization and organization. I want to pull all of my img, css, js,... files from from this subdomain the I don't get blocking from trying to download everything from the same domain. I had tried the method you suggested and still might stick with that, but it doesn't handle any dynamic files (php). If I visit a .php file the browser automatically downloads it. So just to clarify, your suggested method is the only hacky ("but it will be overwritten by Plesk") way to to point a subdomain to folder in the primary domain?

Thanks for the help.
 
I can't recommend you this method because as I wrote before all your changes will be overwritten by websrvmng when Plesk will perform any domain related operation.
 
What can you recommend?

Thanks

I can't recommend anything because it is impossible now. I can suggest you just use directory structure offered by Parallels. As I know we have already submitted feature request for possibility subdomains location replacing but I have no any ETA when it will be implemented.
 
Back
Top