How do I redirect the httpsdocs directory to httpdocs ?
When you set up an SSL certificate on a domain set up through Plesk then automatically when viewing your website over this SSL cert (i.e. https://domain.com rather than http://domain.com) then the webserver will look for these files in the httpsdocs folder rather than the httpdocs folder for security.
If you have an SSL cert set up on one of your domains you might prefer to use the standard httpdocs folder when using the SSL cert rather than the httpsdocs folder. Unfortunatly there is no way to set this up through Plesk but you can do it directly on the VPS.
Linux VPS:
If you have a Linux VPS you can do this by connecting to your VPS via SSH (this can be done under Virtuozzo, from your own linux computer, or using a downloadable program like Putty for Windows users). Once you have logged in you can navigate to the domain’s root directory by:
#> cd /var/www/vhosts/*domain.com*
where *domain.com* is the domain name in question.
Once in this directory you can create the symlink using the following commands:
#> rm -rf httpsdocs
This deletes the current httpsdocs folder so make sure there is nothing in it you need
#> ln -s httpdocs httpsdocs
This creates a ‘symlink’ which basically links the httpsdocs folder directly to httpdocs making it the one and the same.