• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • 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.

Unix Question: Can you create a soft link to your httpdocs folder?

C

Clark

Guest
Just upgraded to a new server and I'm using Plesk for the first time. Trying to learn the ropes.

On my old machine, the path to my docment root was very short and simple. /home/mysitename/www

On the new one, with Plesk, the path is more like /home/httpd/vhosts/mywholedomainname/

So, if there is a way, I would like to create a soft link alias to point to this directory. It would be much easier to type and I think I might not need to edit a lot of lines in a lot of files if it can be done.

ln -s /home/httpd/vhosts/mywhoedomainname/httpdocs/ /home/mydomain/www/ does not seem to want to work.
 
Check the owners of the folders and the permissions on them. You prolly need to be root to make the softlinks too
 
Try it without the slashes at the end, i.e.:

ln -s /home/httpd/vhosts/mywhoedomainname/httpdocs /home/mydomain/www
 
This I was able to figure out.

I logged in as root in SSH and made sure I was in my root directory with cd /.

I then used ln -s /home/mysite /home/httpd/vhosts/mydomain.com/httpdocs

Now I have a shortened path that is very useful in navigating to from the shell and for using inside of files.
 
Back
Top