Remove your entry from the httpd.conf file then save the file and try and start Apache again and the error should go away and Apache should now start.
Now use the file specific for this job
C:\xampp\apache\conf\extra\httpd-vhosts.conf file.
Try adding this (copy and paste perhaps):
- Code: Select all
NameVirtualHost *:80
<VirtualHost *:80>
ServerName localhost
DocumentRoot "C:/xampp/htdocs"
</VirtualHost>
<VirtualHost *:80>
ServerName lausanne-massage.ch
ServerAlias www.lausanne-massage.ch
DocumentRoot "C:/xampp/htdocs/lausanne-massage"
ServerAdmin webmaster@lausanne-massage.ch
ErrorLog logs/lausanne-massage_error.log
CustomLog logs/lausanne-massage_access.log common
LogLevel error
</VirtualHost>
Save the file and try and start Apache again.
Go here
http://hexillion.com/co/DomainDossier.aspxto test your site from the Internet (no need to ask a friend to test it) by adding
lausanne-massage.ch in the text box and then ticking all the boxes - the 'Service Scan' will tell you if your site is accessible from the Internet and when the server is working it will give the server's details.
At the time of this reply a Service Scan gives 'connection refused' so check your firewall/router is configured correctly and that your ISP allows a web server on port 80.