I have created a droplet using the Ubuntu dist with LAMP installed, I also installed webmin to manage my virtual hosts.
The virtual host looks like so
<VirtualHost *:80> DocumentRoot “/var/www/mysite” ServerName mysite.com ServerAlias www.mysite.com <Directory “/var/www/mysite”> allow from all AllowOverride All Options +Indexes </Directory> </VirtualHost>
I restart Apache after every change.
The DNS settings are correct but no matter which version of the vhost I use the website will not resolve the mysite.com url and it just hits the default Apache (Ubuntu) page.
My knowledge of Apache is limited, can anyone advise of any config changes / issues that may cause or resolve this?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
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.