Thread: Virtual Hosts just don't work - no hint why
hey y'all,
i'm new ubuntu , degree new apache , trying configure virtual host.
i've done approximately 10 tutorials on topic, each different - don't , running.
frustrating thing is, apache throws no errors, no warning, nothing. it's not working , after hours of trying i've given up.
got now:
this resides in file named "project" in /etc/apache2/sites-available/project. have sucessfully run a2ensite project, it's available in sites-enabled, have reloaded , restarted - without errors. have cleared browsercache.code:<virtualhost *:80> serveradmin webmaster@localhost servername project.localhost serveralias project.de.localhost documentroot /home/chris/www/project/web <directory /> options followsymlinks allowoverride </directory> <directory /home/chris/www/project/web/> options indexes followsymlinks multiviews allowoverride none order allow,deny allow </directory> errorlog ${apache_log_dir}/error.log # possible values include: debug, info, notice, warn, error, crit, # alert, emerg. loglevel warn customlog ${apache_log_dir}/access.log combined </virtualhost>
understanding project should available @ http://guidr.localhost - isn't. tried editing /etc/hosts without success.
appreciate if have this. i'm down last, , know how can make apache tell me, whats wrong.
you
yet vhost file has servername project.localhost.http://guidr.localhost - isn't. tried editing /etc/hosts without success.
please post /etc/hosts file.
happens when enter http://project.localhost?
Forum The Ubuntu Forum Community Ubuntu Specialised Support Ubuntu Servers, Cloud and Juju Server Platforms [ubuntu] Virtual Hosts just don't work - no hint why
Ubuntu
Comments
Post a Comment