Hi. I'm new to webmin, and my knowledge on setting up a web server is quite limited. So I'm starting with just a simple local web server.
I've been trying to configure a virtual host, following a few tutorials on how to do it, both by webmin and manually editing the config files, and I still haven't succeed. Resolving host is the farthest I've been. However it perfectly works if I use localhost. So it doesn't seem to be a problem with Apache.
I'm using Linux Mint. So this is what I have configured so far:
/var/www/mysite.com/public_html does exist of course. Maybe I should be forced to name it mysite.local instead of mysite.com??
This virtual host is being listed and is configurable from Webmin. This tells me it is reachable from the main conf file /etc/apache2/apache2.conf, and it's linked from sites-enabled.
I also did all the permission changes recommended for the server directories.
Hi. I'm new to webmin, and my knowledge on setting up a web server is quite limited. So I'm starting with just a simple local web server.
I've been trying to configure a virtual host, following a few tutorials on how to do it, both by webmin and manually editing the config files, and I still haven't succeed. Resolving host is the farthest I've been. However it perfectly works if I use localhost. So it doesn't seem to be a problem with Apache.
I'm using Linux Mint. So this is what I have configured so far:
/etc/apache2/sites-available/mysite.local.conf:
/var/www/mysite.com/public_html does exist of course. Maybe I should be forced to name it mysite.local instead of mysite.com??
This virtual host is being listed and is configurable from Webmin. This tells me it is reachable from the main conf file /etc/apache2/apache2.conf, and it's linked from sites-enabled.
I also did all the permission changes recommended for the server directories.
This is my /etc/hosts:
What else am I missing??
Last edit: lmartin 2015-03-14