I'm trying to set up the virtual host on my Deepin OS and nothing I did works. Before you mark the question as duplicate, all the alternatives I've seen here in the forum I've tried and did not succeed, I saw several and several videos on youtube and tbm does not work. Currently my virtualhost is like this
<VirtualHost *:80>
ServerAdmin [email protected]
ServerName gymdoctor.dev
ServerAlias www.gymdoctor.dev
DocumentRoot /var/www/gymdoctor.dev/public/
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
I have also tried with the directory options and point to the public folder of the project in laravel and nothing. Does anyone know of any way to solve this or the problem is in the OS I use since all the tutorials for Ubuntu I have tried.
SOLVED: I was using mysite.dev to create the vhost, I switched to mysite.test and it worked correctly.