• 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

single http/https folder

izghitu

New Pleskian
Hi,

I migrated domains from another server and they had separate http and https folders. Now I need to make them use same httpdocs for both http/https. How do I do it for a single domain? How do I batch do it for all domains?

Please let me know

Thanks
 
Frequently httpdocs and httpsdocs had the same content (or https one was empty) - if that is the case, then you can pick one (i.e. httpdocs) and use it. Plesk 10.0+ will use httpdocs for both SSL and non-SSL
 
can you please be more specific? Like click that, click that, change that?

Is there any way to do the change for all domains?
 
If domains were migrated with Plesk migration tool (you clicked Tools & settings > Migration and Trasfer), then they run in legacy mode of separated folders for SSL and non-SSL. If you wish to change that
1) go Domain > Hosting Settings > uncheck "Run the website in compatibility mode for the legacy option "Separate SSL and non-SSL content"
2) or call "plesk bin domain -u domain.com -same_ssl false" in CLI
Simple script can do #2 for all your domains

If you are not familiar with CLI and scripting, you will need to perform #1 for each domain manually

Regards
 
Back
Top