hello everyone.
I have a problem to login in 2 app the I have in my Virtual Machine in DigitalOcean, say that my ip to login in DigitalOcean is 134.209.XXX.XXX and in my var/www I created two directory one is hidroclient and the other one is fotinclient those are my directory for my apps, I create in my apache sites-available 2 config.
hidroclient.conf
<VirtualHost *:80>
ServerAdmin webmaster@localhost
ServerName hidroclient
ServerAlias hidroclient
DocumentRoot /var/www/hidroclient/public
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
<Directory /var/www/hidroclient/public>
Require all granted
AllowOverride All
</Directory>
</VirtualHost>
fotinclient.conf
<VirtualHost *:80>
ServerAdmin webmaster@localhost
ServerName fotinclient
ServerAlias fotinclient
DocumentRoot /var/www/fotinclient/public
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
<Directory /var/www/fotinclient/public>
Require all granted
AllowOverride All
</Directory>
after tha I did this two comand
a2ensite hidroclient.conf
a2ensite fotinclient.conf
after tha I did this comand
nano /etc/hosts
127.0.1.1 ubuntu-s-1vcpu-2gb-intel-nyc1-01 ubuntu-s-1vcpu-2gb-intel-nyc1-01
127.0.0.1 localhost
134.209.XXX.XXX hidroclient
134.209.XXX.XXX fotinclient
then i reload and restar apache
when i go to navigation bar with the address http://134.209.XXX.XXX/hidroclient i got
404
Sorry, the page you are looking for could not be found.
I don't know what i doing wrong, can someone help me?? thank you very much