I would like to change my apache root server ( /var/www >>> /media/mhsohag11/Local Disk/Sites ). For that directory path has been changed from /etc/apache2/apache2.conf
<Directory "/media/mhsohag11/Local Disk/Sites"> Options Indexes FollowSymLinks AllowOverride None Require all granted </Directory>
Edited also VirtualHost file located /etc/apache2/site-available/000-default.conf
Edited code below :
<VirtualHost *:80> ServerAdmin webmaster@localhost ServerName wp.local DocumentRoot "/media/mhsohag11/Local Disk/Sites/wp" ServerAlias www.wp.local </VirtualHost>
After putting all changes , all services also restarted.
Forbidden You don't have permission to access / on this server. Apache/2.4.29 (Ubuntu) Server at localhost Port 80