Apache default vhost overrides the custom ones
I’ve just created a LAMP droplet from the applications.
My default vhost overrides my new one, so /var/www/html loads for me for a new domain.
Things I tired:
- The symlink is enabled in the /sites-enabled directory
- Apache is restarted with no error message
- Replaced *.80 with the IP, but didn’t help
- Added ServerName localhost to the apache2.config
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×