Skip to main content

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:

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>
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.

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
http://guidr.localhost - isn't. tried editing /etc/hosts without success.
yet vhost file has servername project.localhost.

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

Popular posts from this blog

Thread: gpg: Conflicting Commands

Adobe Acrobat Pro , Terminal Server Use

when i try using AE CC 3d camera tracker after the first step it says "Analysis solve failed." help?