How install Drupal on SSD on Linux
You can do many things to fix this.


Delete the /var/www/html directory. Create a symlink from your SSD to the location.

$ rm -rf /var/www/html &amp;&amp; ln -s /media/ssd/document_root /var/www/html 
Modify your web servers configuration to use the SSD as the document root.
Create a virtual host for your webserver and point it at the SSD. Edit. I just saw youur previous question. Copy your 000-default.conf to 25-example.com.conf and alter the document root and directory durectives. Don't forget to restart apache.


Are you using stock Apache? What version of Ubuntu?