Friday, 15 March 2013

apache - Why aren't my virtual hosts on WampServer working? -


I have difficulty hosting two websites at the same time on WampServer. I have already done it here:

My source files for my website are respectively C: \ wamp \ www \ familyhistorywebsitetemplate and C: \ wamp \ www \ cutillowebdesign

  1. By adding them down to the end of the file The host file is edited (without a semicolon on the same line):

127.0.0.1 Katiholhosti.tk; 127.0.0.1 familyhistorywebsites.tk

2: To enable my virtual host in Apache I have included "conf / extra / httpd-vhosts.conf" in the httpd.conf file.

3: I am setting up a virtual host in WAMP (C: \ wamp \ bin \ apache \ Apache2.4.4 \ conf \ extra \ httpd-vhosts.conf) - this is what it is Looks like:

  & lt; VirtualHost *: 80 & gt; ServerAdmin localhost.admin document root "C: \ wamp \ www" servername localhost  

  & lt; VirtualHost *: 80 & gt; ServerAdmin admin@cutillohistory.tk DocumentRoot "C: \ wamp \ www \ cutillowebdesign" server name cutillohistory.tk server ally www.cutillohistory.tk & lt; Directory "C: \ wamp \ www \ cutillowebdesign" & gt; AllowOverride Allow all orders, Deny from all & lt; / Directory & gt; Error log "/ cutillohistory.tk-error.log" custom log "log / cutlery.tk-access.log" normal  

   

Any help you can give me deep appreciation!

I have no VirtualHost end tag ( & lt; / VirtualHost & gt; ). Copy / Paste error, or what You have forgotten them Not?


No comments:

Post a Comment